summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@nxp.com>2019-02-01 16:40:07 +0000
committerStefano Babic <sbabic@denx.de>2019-02-15 22:01:15 +0100
commit79536013a3c5d451b7209ad66eb16b3b5b64bbaf (patch)
tree08e412e49af44a5f5f4b9d5653eda828245d15dc /common/Makefile
parent69280961d72754f27b5196d392bd41b7f8fa2a42 (diff)
downloadu-boot-79536013a3c5d451b7209ad66eb16b3b5b64bbaf.tar.gz
u-boot-79536013a3c5d451b7209ad66eb16b3b5b64bbaf.tar.bz2
u-boot-79536013a3c5d451b7209ad66eb16b3b5b64bbaf.zip
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL, makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE. Everything that is not part of the usb storage support in SPL is now build under SPL_USB_HOST_SUPPORT. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index ad390d083a..8c92feb399 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -75,8 +75,9 @@ obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o
ifdef CONFIG_SPL_USB_HOST_SUPPORT
-obj-$(CONFIG_SPL_USB_SUPPORT) += usb.o usb_hub.o
-obj-$(CONFIG_USB_STORAGE) += usb_storage.o
+obj-y += usb.o
+obj-y += usb_hub.o
+obj-$(CONFIG_SPL_USB_STORAGE) += usb_storage.o
else
obj-$(CONFIG_USB_MUSB_HOST) += usb.o
endif