From 81334489c0f3e3982c46e9ff5986097d43adaec9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 5 Mar 2026 19:36:23 -0700 Subject: [PATCH] nios2: Call bootm_final() 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 --- 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();