summaryrefslogtreecommitdiffstats
path: root/drivers/core
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-07-01 20:52:59 +0200
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:36 -0600
commite5c4564ee604412ad818056419306e7dc0bc39ba (patch)
tree7ee7410f4d555fb2a4bf11327c40e01fac8efa73 /drivers/core
parentc27b329054a42bcfb19d3b192dc44e1182fea264 (diff)
downloadtalos-obmc-uboot-e5c4564ee604412ad818056419306e7dc0bc39ba.tar.gz
talos-obmc-uboot-e5c4564ee604412ad818056419306e7dc0bc39ba.zip
dm: usb: Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea
Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea, and also why this is a bad idea. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core')
-rw-r--r--drivers/core/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 2861b43079..e40372dd75 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -38,6 +38,10 @@ config DM_DEVICE_REMOVE
device. This is not normally required in SPL, so by default this
option is disabled for SPL.
+ Note that this may have undesirable results in the USB subsystem as
+ it causes unplugged devices to linger around in the dm-tree, and it
+ causes USB host controllers to not be stopped when booting the OS.
+
config DM_STDIO
bool "Support stdio registration"
depends on DM
OpenPOWER on IntegriCloud