On 10 March 2017 at 06:50, Stefan Roese <[email protected]> wrote: > The new function dm_remove_devices_flags() is intented for driver specific > last-stage cleanup operations before the OS is started. This patch adds > this functionality and hooks it into the common device_remove() > function. > > Drivers wanting to use this feature for some last-stage removal calls, > need to add one of the DM_REMOVE_xx flags to their driver .flags. > > Signed-off-by: Stefan Roese <[email protected]> > Cc: Simon Glass <[email protected]> > --- > drivers/core/device-remove.c | 15 +++++++++++---- > drivers/core/root.c | 7 +++++++ > include/dm/root.h | 12 ++++++++++++ > 3 files changed, 30 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

