Revert "Merge patch series "pxe: Precursor series for supporting read_all() in extlinux / PXE""
This reverts commit 8bc3542384e3a1219e5ffb62b79d16dddc1b1fb9, reversing
changes made to 698edd63eca090a2e299cd3facf90a0b97bed677.
There are still problems with this series to work out.
Link: https://lore.kernel.org/u-boot/CAFLszTjw_MJbK9tpzVYi3XKGazcv55auBAdgVzcAVUta7dRqcg@mail.gmail.com/
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/cmd/bootflow.c b/cmd/bootflow.c
index 5349abe..a1fd59a 100644
--- a/cmd/bootflow.c
+++ b/cmd/bootflow.c
@@ -380,13 +380,7 @@
bflow = std->cur_bootflow;
if (IS_ENABLED(CONFIG_X86) && x86_setup) {
- 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);
+ zimage_dump(bflow->x86_setup, false);
return 0;
}