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:
Jianqun Xu 2020-12-30 08:36:09 +08:00
parent 34ddf661ae
commit 9d8aa448b5
1 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
* FDT blob
*/
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);
}
break;
@ -492,7 +492,7 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
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);
} else if (images->legacy_hdr_valid &&
image_check_type(&images->legacy_hdr_os_copy,