[PATCH v3 07/17] bootm: Stash bootstage data in bootm_final()
Simon Glass
sjg at chromium.org
Sat Feb 28 21:19:55 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>
---
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 ac521094db7..b9b9f5ea82f 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -1203,6 +1203,7 @@ void bootm_final(enum bootm_final_t flags)
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