summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorIlya Yanok <ilya.yanok@cogentembedded.com>2013-02-05 11:36:24 +0000
committerTom Rini <trini@ti.com>2013-02-18 13:48:04 -0500
commit62a814310e4794a1218d0057142cf57349924a1c (patch)
tree421090b9076275ee86467eee25fb8a9590bd9f61 /spl
parent9648865d5eba4478398051b59610992bd698fb5a (diff)
downloadu-boot-imx-62a814310e4794a1218d0057142cf57349924a1c.zip
u-boot-imx-62a814310e4794a1218d0057142cf57349924a1c.tar.gz
u-boot-imx-62a814310e4794a1218d0057142cf57349924a1c.tar.bz2
spl: support for booting via usbeth
In case of usbeth booting just call net_load_image("usb_ether"). This patch also adds CONFIG_SPL_USBETH_SUPPORT and CONFIG_SPL_MUSB_NEW_SUPPORT config options to enable linking of SPL against USB gagdet support and new MUSB driver resp. Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 101d478..aac6146 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -81,6 +81,8 @@ LIBS-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/memory.o
LIBS-$(CONFIG_SPL_NET_SUPPORT) += net/libnet.o
LIBS-$(CONFIG_SPL_ETH_SUPPORT) += drivers/net/libnet.o
LIBS-$(CONFIG_SPL_ETH_SUPPORT) += drivers/net/phy/libphy.o
+LIBS-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += drivers/usb/musb-new/libusb_musb-new.o
+LIBS-$(CONFIG_SPL_USBETH_SUPPORT) += drivers/usb/gadget/libusb_gadget.o
ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
LIBS-y += $(CPUDIR)/omap-common/libomap-common.o