Two minimal Kconfig/Makefile fixes for USB.
This commit is contained in:
commit
1247fc7de8
|
|
@ -1106,15 +1106,3 @@ config FDT_SIMPLEFB
|
||||||
|
|
||||||
config IO_TRACE
|
config IO_TRACE
|
||||||
bool
|
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.
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ obj-$(CONFIG_CMD_MII) += miiphyutil.o
|
||||||
obj-$(CONFIG_PHYLIB) += miiphyutil.o
|
obj-$(CONFIG_PHYLIB) += miiphyutil.o
|
||||||
|
|
||||||
obj-$(CONFIG_USB_HOST) += usb.o usb_hub.o
|
obj-$(CONFIG_USB_HOST) += usb.o usb_hub.o
|
||||||
obj-$(CONFIG_USB_GADGET) += usb.o usb_hub.o
|
obj-$(CONFIG_USB_GADGET) += usb.o
|
||||||
obj-$(CONFIG_USB_STORAGE) += usb_storage.o
|
obj-$(CONFIG_USB_STORAGE) += usb_storage.o
|
||||||
obj-$(CONFIG_USB_ONBOARD_HUB) += usb_onboard_hub.o
|
obj-$(CONFIG_USB_ONBOARD_HUB) += usb_onboard_hub.o
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,17 @@ config USB_ONBOARD_HUB
|
||||||
power regulator. An example for such a hub is the Microchip
|
power regulator. An example for such a hub is the Microchip
|
||||||
USB2514B.
|
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
|
if USB_KEYBOARD
|
||||||
|
|
||||||
config USB_KEYBOARD_FN_KEYS
|
config USB_KEYBOARD_FN_KEYS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue