x86: Call bootm_final()

The x86 code in bootm_announce_and_cleanup() is very similar to the new
bootm_final() function, so just use the latter. Move over a useful
comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-07-08 07:56:15 +02:00
parent bd57096c36
commit c3b0c2979e
2 changed files with 6 additions and 13 deletions

View File

@@ -18,5 +18,10 @@ void bootm_final(enum bootm_final_t flags)
if (IS_ENABLED(CONFIG_BOOTSTAGE_REPORT))
bootstage_report();
/*
* Call remove function of all devices with a removal flag set.
* This may be useful for last-stage operations, like cancelling
* of DMA operation or releasing device internal buffers.
*/
dm_remove_devices_active();
}