diff options
Diffstat (limited to 'cmd/bootflow.c')
-rw-r--r-- | cmd/bootflow.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c index 6d0be320bdb..a1fd59a69f4 100644 --- a/cmd/bootflow.c +++ b/cmd/bootflow.c @@ -173,7 +173,7 @@ static int do_bootflow_scan(struct cmd_tbl *cmdtp, int flag, int argc, std->cur_bootflow = NULL; - flags = 0; + flags = BOOTFLOWIF_ONLY_BOOTABLE; if (list) flags |= BOOTFLOWIF_SHOW; if (all) @@ -380,13 +380,7 @@ static int do_bootflow_info(struct cmd_tbl *cmdtp, int flag, int argc, 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; } |