[PATCH v2 2/9] bootm: Remove active devices in bootm_final()
Simon Glass
sjg at chromium.org
Tue Feb 24 15:25:44 CET 2026
Add a call to dm_remove_devices_active() there to ensure that active
devices are removed.
Signed-off-by: Simon Glass <simon.glass at canonical.com>
---
Changes in v2:
- Replace 'efi: Make use of bootm_final()' with a non-EFI patch
boot/bootm_final.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boot/bootm_final.c b/boot/bootm_final.c
index 15ddbbe5e74..263cd95dcb3 100644
--- a/boot/bootm_final.c
+++ b/boot/bootm_final.c
@@ -6,7 +6,9 @@
*/
#include <bootm.h>
+#include <dm/root.h>
void bootm_final(enum bootm_final_t flags)
{
+ dm_remove_devices_active();
}
--
2.43.0
More information about the U-Boot
mailing list