drivers: core: Add the option SPL_DM_DEVICE_REMOVE to the Kconfig
authorJean-Jacques Hiblot <[email protected]>
Fri, 7 Dec 2018 13:50:53 +0000 (14:50 +0100)
committerHeiko Schocher <[email protected]>
Mon, 10 Dec 2018 06:22:30 +0000 (07:22 +0100)
commit85e51be9fb838eec68590cba991f07345fc07488
treec90c8b6c2515d2cad04c05ecd80af995c3d6030c
parentf1d2bc9034053e7d8ad0e77b9a0399f451bb5b80
drivers: core: Add the option SPL_DM_DEVICE_REMOVE to the Kconfig

It is currently not possible to include the support to remove devices in
the SPL. This is however needed by platforms that re-select their dtb after
DM is initialized; they need to remove all the previously bound devices
before triggering a scan of the new DT.

Add a Kconfig option to be able to include the support for device removal
in the SPL.

Signed-off-by: Jean-Jacques Hiblot <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Seeries-changes:3
- update commit message
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
drivers/core/Kconfig