]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: bootm: Add dm_remove_devices_flags() call to announce_and_cleanup()
authorStefan Roese <sr@denx.de>
Mon, 20 Mar 2017 11:51:50 +0000 (12:51 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:15:10 +0000 (20:15 -0600)
commit1b8220aa2ab09d936c427dae84b40edf51c8b194
treeeeb02add123b8021265689b93819b11f4c2d240c
parentbc85aa4030ab9ccfc1349c320b085a8b792c602e
arm: bootm: Add dm_remove_devices_flags() call to announce_and_cleanup()

This patch adds a call to dm_remove_devices_flags() to
announce_and_cleanup() 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.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/bootm.c