diff options
author | Tom Rini <trini@konsulko.com> | 2025-03-18 13:12:51 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-03-18 13:12:51 -0600 |
commit | 8bc3542384e3a1219e5ffb62b79d16dddc1b1fb9 (patch) | |
tree | 8473478696b9a12d2db424afcec705dcce58c580 /cmd/bootflow.c | |
parent | 698edd63eca090a2e299cd3facf90a0b97bed677 (diff) | |
parent | 0f094b8b146679c3980cd2febde4e902bbc4405d (diff) |
Merge patch series "pxe: Precursor series for supporting read_all() in extlinux / PXE"
Simon Glass <sjg@chromium.org> says:
This series includes some patches related to allowing read_all() to be
used with the extlinux / PXE bootmeths.
These patches were split out from the stb4 series, since it will need to
have additional patches for LWIP, to avoid breaking PXE booting when
LWIP is used.
Link: https://lore.kernel.org/r/20250306002533.2380866-1-sjg@chromium.org
Diffstat (limited to 'cmd/bootflow.c')
-rw-r--r-- | cmd/bootflow.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c index f88995a478f..6d0be320bdb 100644 --- a/cmd/bootflow.c +++ b/cmd/bootflow.c @@ -380,7 +380,13 @@ static int do_bootflow_info(struct cmd_tbl *cmdtp, int flag, int argc, bflow = std->cur_bootflow; if (IS_ENABLED(CONFIG_X86) && x86_setup) { - zimage_dump(bflow->x86_setup, false); + struct bootm_info bmi; + + bootm_init(&bmi); + /* we don't know this at present */ + bootm_x86_set(&bmi, bzimage_addr, 0); + bootm_x86_set(&bmi, base_ptr, bflow->x86_setup); + zimage_dump(&bmi, false); return 0; } |