]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sandbox: Call bootm_final()
authorSimon Glass <simon.glass@canonical.com>
Fri, 6 Mar 2026 02:36:26 +0000 (19:36 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 18 Mar 2026 19:17:34 +0000 (13:17 -0600)
Add a call to bootm_final() before the simulated kernel jump. This
adds the "Starting kernel" message, bootstage tracking,
board_quiesce_devices() and dm_remove_devices_active() which were not
previously called on sandbox.

Signed-off-by: Simon Glass <simon.glass@canonical.com>
arch/sandbox/lib/bootm.c

index 44ba8b52e13973be34534c14e72261da24de62ea..7a5f6f7d36ed15a9414d8a0451549e1dbdf2f446 100644 (file)
@@ -73,6 +73,7 @@ int do_bootm_linux(int flag, struct bootm_info *bmi)
 
        if (flag & (BOOTM_STATE_OS_GO | BOOTM_STATE_OS_FAKE_GO)) {
                bootstage_mark(BOOTSTAGE_ID_RUN_OS);
+               bootm_final(flag);
                printf("## Transferring control to Linux (at address %08lx)...\n",
                       images->ep);
                printf("sandbox: continuing, as we cannot run Linux\n");