[PATCH v4 07/17] bootm: Stash bootstage data in bootm_final()
Simon Glass
sjg at chromium.org
Fri Mar 6 03:36:16 CET 2026
From: Simon Glass <simon.glass at canonical.com>
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 <simon.glass at canonical.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
---
(no changes since v3)
Changes in v3:
- Add new patch for bootstage stashing, needed for ARM conversion
boot/bootm.c | 1 +
1 file changed, 1 insertion(+)
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();
--
2.43.0
More information about the U-Boot
mailing list