]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mips: Call bootm_final()
authorSimon Glass <simon.glass@canonical.com>
Fri, 6 Mar 2026 02:36:20 +0000 (19:36 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 18 Mar 2026 19:17:34 +0000 (13:17 -0600)
Replace the open-coded bootstage_fdt_add_report() and
bootstage_report() with a call to bootm_final(). This also adds the
"Starting kernel" message, board_quiesce_devices() and
dm_remove_devices_active() which were not previously called on MIPS.

Signed-off-by: Simon Glass <simon.glass@canonical.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/lib/bootm.c

index 8719510002399a5cb1e5ccaed3332b7410edb6bb..066c830f3fa4effc8dd4c2dbd72b1e2c0b2dad27 100644 (file)
@@ -268,12 +268,7 @@ static void boot_jump_linux(struct bootm_headers *images)
        if (CONFIG_IS_ENABLED(MALTA))
                linux_extra = gd->ram_size;
 
-#if IS_ENABLED(CONFIG_BOOTSTAGE_FDT)
-       bootstage_fdt_add_report();
-#endif
-#if IS_ENABLED(CONFIG_BOOTSTAGE_REPORT)
-       bootstage_report();
-#endif
+       bootm_final(0);
 
        if (CONFIG_IS_ENABLED(RESTORE_EXCEPTION_VECTOR_BASE))
                trap_restore();