From: Simon Glass <[email protected]>

Add a call to bootm_final() before jumping to the kernel. This adds
the "Starting kernel" message, bootstage tracking,
board_quiesce_devices() and dm_remove_devices_active() which were not
previously called on m68k.

Signed-off-by: Simon Glass <[email protected]>

---

Changes in v3:
- Add new patch for m68k conversion

 arch/m68k/lib/bootm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c
index 3dcff8076e3..7e36ac73169 100644
--- a/arch/m68k/lib/bootm.c
+++ b/arch/m68k/lib/bootm.c
@@ -65,6 +65,8 @@ int do_bootm_linux(int flag, struct bootm_info *bmi)
 
        bootstage_mark(BOOTSTAGE_ID_RUN_OS);
 
+       bootm_final(0);
+
        /*
         * Linux Kernel Parameters (passing board info data):
         *   sp+00: Ignore, side effect of using jsr to jump to kernel
-- 
2.43.0

Reply via email to