summaryrefslogtreecommitdiff
path: root/boot/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2026-03-05 19:36:16 -0700
committerTom Rini <[email protected]>2026-03-18 13:17:34 -0600
commit5759155b023e93c24268911a8a40110ec4b13dd9 (patch)
tree0f9ff00edcb6fece942f53c8c516a58a7b814604 /boot/bootm.c
parentaa5ada5447369849c82310073270ed64df1efd9b (diff)
bootm: Stash bootstage data in bootm_final()
ARM stashes bootstage data to a known memory location before booting, so the kernel can pick it up. Add this to bootm_final() so all architectures benefit from it. The bootstage_stash_default() function is a no-op when bootstage or stashing is disabled. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'boot/bootm.c')
-rw-r--r--boot/bootm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/bootm.c b/boot/bootm.c
index e553497192c..c42f3b925bc 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -1205,6 +1205,7 @@ void bootm_final(int flag)
if (IS_ENABLED(CONFIG_BOOTSTAGE_FDT) && IS_ENABLED(CONFIG_CMD_FDT))
bootstage_fdt_add_report();
+ bootstage_stash_default();
if (IS_ENABLED(CONFIG_BOOTSTAGE_REPORT))
bootstage_report();