mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
riscv: Call bootm_final()
The RISC-V announce_and_cleanup() duplicates the common pre-boot steps. Replace it with a call to bootm_final(). Move board_quiesce_devices() into bootm_final() so it is available to all architectures. Drop the RISC-V weak definition and header declaration since the generic one in bootm.h is used instead. Signed-off-by: Simon Glass <simon.glass@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -1208,6 +1208,8 @@ void bootm_final(int flag)
|
||||
if (IS_ENABLED(CONFIG_BOOTSTAGE_REPORT))
|
||||
bootstage_report();
|
||||
|
||||
board_quiesce_devices();
|
||||
|
||||
/*
|
||||
* Call remove function of all devices with a removal flag set.
|
||||
* This may be useful for last-stage operations, like cancelling
|
||||
|
||||
Reference in New Issue
Block a user