[U-Boot] [PATCH v3 03/31] riscv: bootm: Add dm_remove_devices_flags() call to do_bootm_linux()

sjg at google.com sjg at google.com
Wed Oct 24 17:32:08 UTC 2018


On 15 October 2018 at 03:20, Bin Meng <bmeng.cn at gmail.com> wrote:
> This adds a call to dm_remove_devices_flags() to do_bootm_linux()
> so that drivers that have one of the removal flags set (e.g.
> DM_FLAG_ACTIVE_DMA_REMOVE) in their driver struct, may do some
> last-stage cleanup before the OS is started.
>
> arm and x86 already did such, and we should do the same for riscv.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v3: None
> Changes in v2:
> - new patch to add dm_remove_devices_flags() call to do_bootm_linux()
>   for riscv bootm
>
>  arch/riscv/lib/bootm.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list