mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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: 5454dea313
("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>
This commit is contained in:
parent
fe61da8c75
commit
4042ce73c8
2 changed files with 11 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -115,6 +115,17 @@ config USB_ONBOARD_HUB
|
|||
power regulator. An example for such a hub is the Microchip
|
||||
USB2514B.
|
||||
|
||||
config USB_HUB_DEBOUNCE_TIMEOUT
|
||||
int "Timeout in milliseconds for USB HUB connection"
|
||||
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.
|
||||
|
||||
if USB_KEYBOARD
|
||||
|
||||
config USB_KEYBOARD_FN_KEYS
|
||||
|
|
Loading…
Reference in a new issue