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 Nios2.

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

---

Changes in v3:
- Add new patch for Nios2 conversion

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

diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c
index 294ebfb508b..6004e83bf0c 100644
--- a/arch/nios2/lib/bootm.c
+++ b/arch/nios2/lib/bootm.c
@@ -41,6 +41,8 @@ int do_bootm_linux(int flag, struct bootm_info *bmi)
        if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
                return 1;
 
+       bootm_final(0);
+
        /* flushes data and instruction caches before calling the kernel */
        disable_interrupts();
        flush_dcache_all();
-- 
2.43.0

Reply via email to