diff options
author | Marek Vasut <marex@denx.de> | 2023-05-06 16:42:37 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-05-17 01:51:39 +0200 |
commit | df104411d1a9e695cec2ca992c5798b2df38c92b (patch) | |
tree | 9a29bb1fd75d478283eb9d625c96e6ddcb50ba65 | |
parent | 5d0b3dde115b0d26d414199678983d01b738ad1b (diff) | |
download | u-boot-df104411d1a9e695cec2ca992c5798b2df38c92b.zip u-boot-df104411d1a9e695cec2ca992c5798b2df38c92b.tar.gz u-boot-df104411d1a9e695cec2ca992c5798b2df38c92b.tar.bz2 |
usb: Move SPL_USB_HOST 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_HOST and updates help text of both USB_HOST
and SPL_USB_HOST .
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | common/spl/Kconfig | 10 | ||||
-rw-r--r-- | drivers/usb/host/Kconfig | 13 |
2 files changed, 13 insertions, 10 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2c042ad..03d0fd9 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -1345,16 +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_HOST - bool "Support USB host drivers" - help - Enable access to USB (Universal Serial Bus) host devices so that - SPL can load U-Boot from a connected USB peripheral, such as a USB - flash stick. While USB takes a little longer to start up than most - buses, it is very flexible since many different types of storage - device can be attached. This option enables the drivers in - drivers/usb/host as part of an SPL build. - config SPL_USB_STORAGE bool "Support loading from USB" depends on SPL_USB_HOST diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 6213b3c..1a883ba 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -6,6 +6,19 @@ comment "USB Host Controller Drivers" config USB_HOST bool select DM_USB + help + Enable access to USB (Universal Serial Bus) host devices so that + SPL can load U-Boot from a connected USB peripheral, such as a USB + flash stick. While USB takes a little longer to start up than most + buses, it is very flexible since many different types of storage + device can be attached. + +config SPL_USB_HOST + bool "Support USB host drivers" + depends on SPL + help + For detailed help see USB_HOST Kconfig symbol. This option enables + the drivers in drivers/usb/host as part of an SPL build. config USB_XHCI_HCD bool "xHCI HCD (USB 3.0) support" |