summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-01-25 19:40:16 +0100
committerMarek Vasut <marex@denx.de>2023-03-10 17:31:31 +0100
commit4042ce73c8bee9077d80a42b27aa21f98636b780 (patch)
tree848dfab948adbf6c71d80c5e995a78b57b4e5411 /common/Kconfig
parentfe61da8c75d061f48237ef4d7618812739ccf789 (diff)
downloadu-boot-4042ce73c8bee9077d80a42b27aa21f98636b780.tar.gz
u-boot-4042ce73c8bee9077d80a42b27aa21f98636b780.tar.bz2
u-boot-4042ce73c8bee9077d80a42b27aa21f98636b780.zip
usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB
This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. The setting is only relevant in USB host mode. Fixes: 5454dea3137d ("usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/Kconfig b/common/Kconfig
index e3a5e1be1e..0afc01b759 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1106,15 +1106,3 @@ config FDT_SIMPLEFB
config IO_TRACE
bool
-
-config USB_HUB_DEBOUNCE_TIMEOUT
- int "Timeout in milliseconds for USB HUB connection"
- depends on USB
- default 1000
- help
- Value in milliseconds of the USB connection timeout, the max delay to
- wait the hub port status to be connected steadily after being powered
- off and powered on in the usb hub driver.
- This define allows to increase the HUB_DEBOUNCE_TIMEOUT default
- value = 1s because some usb device needs around 1.5s to be initialized
- and a 2s value should solve detection issue on problematic USB keys.