summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-11 06:14:29 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:27:54 +0300
commit333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608 (patch)
tree65983e2d6a00ff5ed1843924f1d7265e666bf93e /common
parent078111b9c04764114c04f70969e84a01ffb487c0 (diff)
downloadu-boot-333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608.tar.xz
Rename SPL_USB_HOST_SUPPORT to SPL_USB_HOST
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Makefile2
-rw-r--r--common/spl/Kconfig4
2 files changed, 3 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile
index 829ea5fb42..9063ed9391 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -72,7 +72,7 @@ obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o
-ifdef CONFIG_SPL_USB_HOST_SUPPORT
+ifdef CONFIG_SPL_USB_HOST
obj-y += usb.o
obj-y += usb_hub.o
obj-$(CONFIG_SPL_USB_STORAGE) += usb_storage.o
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index c0e99ba893..714c2b906e 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1192,7 +1192,7 @@ 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_SUPPORT
+config SPL_USB_HOST
bool "Support USB host drivers"
select HAVE_BLOCK_DEVICE
help
@@ -1205,7 +1205,7 @@ config SPL_USB_HOST_SUPPORT
config SPL_USB_STORAGE
bool "Support loading from USB"
- depends on SPL_USB_HOST_SUPPORT && !(BLK && !DM_USB)
+ depends on SPL_USB_HOST && !(BLK && !DM_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.