diff options
author | Simon Glass <sjg@chromium.org> | 2021-07-10 21:14:29 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 14:27:54 -0400 |
commit | 333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608 (patch) | |
tree | 65983e2d6a00ff5ed1843924f1d7265e666bf93e /common | |
parent | 078111b9c04764114c04f70969e84a01ffb487c0 (diff) | |
download | u-boot-333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608.zip u-boot-333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608.tar.gz u-boot-333e4a621dfcdf42ae2cb4ee6fff15c8ca50d608.tar.bz2 |
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/Makefile | 2 | ||||
-rw-r--r-- | common/spl/Kconfig | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile index 829ea5f..9063ed9 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 c0e99ba..714c2b9 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. |