diff options
| author | Simon Glass <[email protected]> | 2024-10-19 09:21:59 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-11-03 21:27:12 -0600 |
| commit | bdf4269f39c2c39129fa57d2702ab4e4ee550e5e (patch) | |
| tree | 593f524a57208ce81d26442f5333f82609729128 /cmd | |
| parent | 5936d863cd5626acaf616822c56ac6c79c6893a4 (diff) | |
bootstd: cros: Correct the x86-setup address
This should really use an address rather than the buffer. Update it in
the command.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/bootflow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c index 1588f277a4a..5b6e003df77 100644 --- 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) { |
