[U-Boot] [PATCH v4 03/14] efi: Fix debug message address format

Simon Glass sjg at chromium.org
Mon Nov 7 16:47:05 CET 2016


This should use U-Boot's standard format for hex address. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 cmd/bootefi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index c8079c4..3ab256e 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -248,7 +248,7 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		fdt_addr = simple_strtoul(sfdt, NULL, 16);
 	}
 
-	printf("## Starting EFI application at 0x%08lx ...\n", addr);
+	printf("## Starting EFI application at %08lx ...\n", addr);
 	r = do_bootefi_exec((void *)addr, (void*)fdt_addr);
 	printf("## Application terminated, r = %d\n", r);
 
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list