From: Simon Glass <[email protected]> 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]> --- (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

