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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user