summaryrefslogtreecommitdiff
path: root/drivers/core/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/Kconfig')
-rw-r--r--drivers/core/Kconfig9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 8fde77c23e..6fc8854b57 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -109,13 +109,14 @@ config DM_DEVICE_REMOVE
causes USB host controllers to not be stopped when booting the OS.
config DM_EVENT
- bool "Support events with driver model"
- depends on DM && EVENT
- default y if SANDBOX
+ bool
+ depends on DM
+ select EVENT
help
This enables support for generating events related to driver model
operations, such as prbing or removing a device. Subsystems can
- register a 'spy' function that is called when the event occurs.
+ register a 'spy' function that is called when the event occurs. Such
+ subsystems must select this option.
config SPL_DM_DEVICE_REMOVE
bool "Support device removal in SPL"