bootm-fdt: fix compile warning

Change-Id: Idc1af16d966d19921cf19c233bab0cd35337e8ae
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-02-09 17:03:16 +08:00 committed by Kever Yang
parent 9af1ce3cfa
commit 0291804aa7
1 changed files with 2 additions and 2 deletions

View File

@ -42,10 +42,10 @@ int arch_fixup_fdt(void *blob)
u64 size[CONFIG_NR_DRAM_BANKS];
for (bank = 0; bank < CONFIG_NR_DRAM_BANKS; bank++) {
if (size[bank] == 0)
continue;
start[bank] = bd->bi_dram[bank].start;
size[bank] = bd->bi_dram[bank].size;
if (size[bank] == 0)
continue;
printf("Adding bank: start=0x%08lx, size=0x%08lx\n",
gd->bd->bi_dram[bank].start, gd->bd->bi_dram[bank].size);