common: android: format address with "0x%08lx"
Change-Id: Icbb0d31541fab9d66043834a28f995da8b9ab087 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
26e23df7b8
commit
af4fa70793
|
|
@ -393,7 +393,7 @@ int android_bootloader_boot_kernel(unsigned long kernel_address)
|
|||
"bootm", kernel_addr_str, kernel_addr_str, fdt_addr, NULL };
|
||||
|
||||
comp_type = env_get_ulong("os_comp", 10, 0);
|
||||
sprintf(kernel_addr_str, "0x%lx", kernel_address);
|
||||
sprintf(kernel_addr_str, "0x%08lx", kernel_address);
|
||||
|
||||
if (comp_type != IH_COMP_NONE) {
|
||||
if (comp_type == IH_COMP_ZIMAGE &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue