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 <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2026-03-05 19:36:23 -07:00
committed by Tom Rini
parent 3b4bd773e0
commit 81334489c0

View File

@@ -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();