projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5936d86
)
bootstd: cros: Correct the x86-setup address
author
Simon Glass
<sjg@chromium.org>
Sat, 19 Oct 2024 15:21:59 +0000
(09:21 -0600)
committer
Tom Rini
<trini@konsulko.com>
Mon, 4 Nov 2024 03:27:12 +0000
(21:27 -0600)
This should really use an address rather than the buffer. Update it in
the command.
Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/bootflow.c
patch
|
blob
|
history
diff --git
a/cmd/bootflow.c
b/cmd/bootflow.c
index 1588f277a4a0af78ddfe85ac972422c05754f9e4..5b6e003df77a35621365bf532d5cda964e2609eb 100644
(file)
--- a/
cmd/bootflow.c
+++ b/
cmd/bootflow.c
@@
-403,7
+403,8
@@
static int do_bootflow_info(struct cmd_tbl *cmdtp, int flag, int argc,
puts("(none)");
putc('\n');
if (bflow->x86_setup)
- printf("X86 setup: %p\n", bflow->x86_setup);
+ printf("X86 setup: %lx\n",
+ (ulong)map_to_sysmem(bflow->x86_setup));
printf("Logo: %s\n", bflow->logo ?
simple_xtoa((ulong)map_to_sysmem(bflow->logo)) : "(none)");
if (bflow->logo) {