mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-01 00:23:29 +08:00
usb: Move SPL_USB_STORAGE Kconfig symbol to drivers/usb/
To avoid piling up all the various Kconfig symbols in one place, i.e. common/spl/Kconfig, move the USB Kconfig symbols into drivers/usb/ . This commit moves SPL_USB_STORAGE and matching SYS_USB_FAT_BOOT_PARTITION . Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
df104411d1
commit
6308731648
@ -1345,23 +1345,6 @@ config SPL_THERMAL
|
||||
automatic power-off when the temperature gets too high or low. Other
|
||||
devices may be discrete but connected on a suitable bus.
|
||||
|
||||
config SPL_USB_STORAGE
|
||||
bool "Support loading from USB"
|
||||
depends on SPL_USB_HOST
|
||||
help
|
||||
Enable support for USB devices in SPL. This allows use of USB
|
||||
devices such as hard drives and flash drivers for loading U-Boot.
|
||||
The actual drivers are enabled separately using the normal U-Boot
|
||||
config options. This enables loading from USB using a configured
|
||||
device.
|
||||
|
||||
config SYS_USB_FAT_BOOT_PARTITION
|
||||
int "Partition on USB to use to load U-Boot from"
|
||||
depends on SPL_USB_STORAGE
|
||||
default 1
|
||||
help
|
||||
Partition on the USB storage device to load U-Boot from
|
||||
|
||||
config SPL_USB_GADGET
|
||||
bool "Suppport USB Gadget drivers"
|
||||
help
|
||||
|
@ -126,6 +126,28 @@ config USB_HUB_DEBOUNCE_TIMEOUT
|
||||
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 SPL_USB_HOST
|
||||
|
||||
comment "USB peripherals in SPL"
|
||||
|
||||
config SPL_USB_STORAGE
|
||||
bool "Support loading from USB"
|
||||
help
|
||||
Enable support for USB devices in SPL. This allows use of USB
|
||||
devices such as hard drives and flash drivers for loading U-Boot.
|
||||
The actual drivers are enabled separately using the normal U-Boot
|
||||
config options. This enables loading from USB using a configured
|
||||
device.
|
||||
|
||||
config SYS_USB_FAT_BOOT_PARTITION
|
||||
int "Partition on USB to use to load U-Boot from"
|
||||
depends on SPL_USB_STORAGE
|
||||
default 1
|
||||
help
|
||||
Partition on the USB storage device to load U-Boot from.
|
||||
|
||||
endif
|
||||
|
||||
if USB_KEYBOARD
|
||||
|
||||
config USB_KEYBOARD_FN_KEYS
|
||||
|
Loading…
Reference in New Issue
Block a user