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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user