summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2014-01-16 11:23:30 -0600
committerTom Rini <trini@ti.com>2014-01-24 16:59:22 -0500
commit8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2 (patch)
tree17c1cec019810ffc5dcb4a59ab0522cec4c5fdf5 /common/Makefile
parent773b5940b5f2fb5d1041c6f4db5796121ccd29c5 (diff)
downloadtalos-obmc-uboot-8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2.tar.gz
talos-obmc-uboot-8cffe5bd0d601f64eca78d28b8a710ad6ca8edd2.zip
spl: common: Support for USB MSD FAT image loading
Add SPL support to be able to detect a USB Mass Storage device connected to a USB host. Once a USB Mass storage device is detected the SPL will load the u-boot.img from a FAT partition to target address. Signed-off-by: Dan Murphy <dmurphy@ti.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index d12cba5bf0..4d99ecd616 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -197,6 +197,10 @@ obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o
obj-$(CONFIG_SPL_ENV_SUPPORT) += env_attr.o
obj-$(CONFIG_SPL_ENV_SUPPORT) += env_flags.o
obj-$(CONFIG_SPL_ENV_SUPPORT) += env_callback.o
+ifdef CONFIG_SPL_USB_HOST_SUPPORT
+obj-$(CONFIG_SPL_USB_SUPPORT) += usb.o usb_hub.o
+obj-$(CONFIG_USB_STORAGE) += usb_storage.o
+endif
ifneq ($(CONFIG_SPL_NET_SUPPORT),y)
obj-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o
obj-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o
OpenPOWER on IntegriCloud