diff options
| author | Simon Glass <[email protected]> | 2026-03-05 19:36:23 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-18 13:17:34 -0600 |
| commit | 81334489c0f3e3982c46e9ff5986097d43adaec9 (patch) | |
| tree | a828da9ff5d30a68287de5e47904da39e38d9cec | |
| parent | 3b4bd773e093e777d35f2d951d1868de1a3cc2f3 (diff) | |
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 <[email protected]>
| -rw-r--r-- | arch/nios2/lib/bootm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |
