On Tue, Feb 24, 2026 at 07:25:44AM -0700, Simon Glass wrote:

> Add a call to dm_remove_devices_active() there to ensure that active
> devices are removed.
> 
> Signed-off-by: Simon Glass <[email protected]>
> ---
> 
> 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();
>  }

And lets just make the function be introduced non-empty, and document
what it's doing in the header too. In fact, this comment applies to the
first few parts of this series. Just introduce the function with the
basic and common to all functionality.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to