[PATCH v3 16/17] xtensa: Call bootm_final()
Simon Glass
sjg at chromium.org
Sat Feb 28 21:20:04 CET 2026
From: Simon Glass <simon.glass at canonical.com>
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 Xtensa.
Signed-off-by: Simon Glass <simon.glass at canonical.com>
---
Changes in v3:
- Add new patch for Xtensa conversion
arch/xtensa/lib/bootm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/xtensa/lib/bootm.c b/arch/xtensa/lib/bootm.c
index 2958f207397..627fa918769 100644
--- a/arch/xtensa/lib/bootm.c
+++ b/arch/xtensa/lib/bootm.c
@@ -178,6 +178,8 @@ int do_bootm_linux(int flag, struct bootm_info *bmi)
printf("Transferring Control to Linux @0x%08lx ...\n\n",
(ulong)images->ep);
+ bootm_final((flag & BOOTM_STATE_OS_FAKE_GO) ? BOOTM_FINAL_FAKE : 0);
+
flush_dcache_range((unsigned long)params_start, (unsigned long)params);
if (flag & BOOTM_STATE_OS_FAKE_GO)
--
2.43.0
More information about the U-Boot
mailing list