summaryrefslogtreecommitdiff
path: root/cmd/bootflow.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-03-05 17:25:02 -0700
committerTom Rini <[email protected]>2025-03-18 13:12:15 -0600
commitc73da92304280b229e3d8dfd565fae5a24fe3ce8 (patch)
treef685170caf64ad12dc5ae5612ed658dbb5527c59 /cmd/bootflow.c
parent1592ff27d502efdc79992f57c07ff0cf81bc9305 (diff)
x86: Drop the unnecessary base_ptr argument to zboot_dump()
This value is include the bootm_info, so drop the unnecessary parameter. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd/bootflow.c')
-rw-r--r--cmd/bootflow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c
index da17fd93b8b..6d0be320bdb 100644
--- a/cmd/bootflow.c
+++ b/cmd/bootflow.c
@@ -385,7 +385,8 @@ static int do_bootflow_info(struct cmd_tbl *cmdtp, int flag, int argc,
bootm_init(&bmi);
/* we don't know this at present */
bootm_x86_set(&bmi, bzimage_addr, 0);
- zimage_dump(&bmi, bflow->x86_setup, false);
+ bootm_x86_set(&bmi, base_ptr, bflow->x86_setup);
+ zimage_dump(&bmi, false);
return 0;
}