summaryrefslogtreecommitdiff
path: root/boot/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2026-03-05 19:36:15 -0700
committerTom Rini <[email protected]>2026-03-18 13:17:34 -0600
commitaa5ada5447369849c82310073270ed64df1efd9b (patch)
tree09498c7d62b4facb7033b58cd6943a62b7fe3a32 /boot/bootm.c
parent8240a482290960e49a7c2a537b7100120ef4ec20 (diff)
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'boot/bootm.c')
-rw-r--r--boot/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/bootm.c b/boot/bootm.c
index cba10b5dce7..e553497192c 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -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