common: fix hex print format to %#010lx
Before this patch: Flattened Device Tree blob at 08300000 Booting using the fdt blob at 0x8300000 With this patch: Flattened Device Tree blob at 0x08300000 Booting using the fdt blob at 0x08300000 Change-Id: Ibd5f1cfc07791eff829512d1820eb3c8c0caa007 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
parent
34ddf661ae
commit
9d8aa448b5
|
|
@ -483,7 +483,7 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
|
||||||
* FDT blob
|
* FDT blob
|
||||||
*/
|
*/
|
||||||
debug("* fdt: raw FDT blob\n");
|
debug("* fdt: raw FDT blob\n");
|
||||||
printf("## Flattened Device Tree blob at %08lx\n",
|
printf("## Flattened Device Tree blob at %#010lx\n",
|
||||||
(long)fdt_addr);
|
(long)fdt_addr);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
@ -492,7 +492,7 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
|
||||||
goto no_fdt;
|
goto no_fdt;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(" Booting using the fdt blob at %#08lx\n", fdt_addr);
|
printf(" Booting using the fdt blob at %#010lx\n", fdt_addr);
|
||||||
fdt_blob = map_sysmem(fdt_addr, 0);
|
fdt_blob = map_sysmem(fdt_addr, 0);
|
||||||
} else if (images->legacy_hdr_valid &&
|
} else if (images->legacy_hdr_valid &&
|
||||||
image_check_type(&images->legacy_hdr_os_copy,
|
image_check_type(&images->legacy_hdr_os_copy,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue