summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/tegra2/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-27 10:52:49 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-29 08:12:48 +0200
commit87f938c9f7372f587a43fe7babcb171ee0a0672f (patch)
tree2d38fe21ff471e541fad7ae8cbfca9fd0b086280 /arch/arm/cpu/armv7/tegra2/Makefile
parented2974493e838399eacd4bf88f38b215955688a8 (diff)
downloadu-boot-imx-87f938c9f7372f587a43fe7babcb171ee0a0672f.zip
u-boot-imx-87f938c9f7372f587a43fe7babcb171ee0a0672f.tar.gz
u-boot-imx-87f938c9f7372f587a43fe7babcb171ee0a0672f.tar.bz2
tegra: usb: Add support for Tegra USB peripheral
This adds basic support for the Tegra2 USB controller. Board files should call board_usb_init() to set things up. Configuration is performed through the FDT, with aliases used to set the order of the ports, like this fragment: aliases { /* This defines the order of our USB ports */ usb0 = "/usb@0xc5008000"; usb1 = "/usb@0xc5000000"; }; drivers/usb/host files ONLY: Acked-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/armv7/tegra2/Makefile')
-rw-r--r--arch/arm/cpu/armv7/tegra2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/tegra2/Makefile b/arch/arm/cpu/armv7/tegra2/Makefile
index f668a81..e9ac6c9 100644
--- a/arch/arm/cpu/armv7/tegra2/Makefile
+++ b/arch/arm/cpu/armv7/tegra2/Makefile
@@ -33,8 +33,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).o
SOBJS := lowlevel_init.o
-COBJS := ap20.o board.o clock.o funcmux.o pinmux.o sys_info.o timer.o
+COBJS-y := ap20.o board.o clock.o funcmux.o pinmux.o sys_info.o timer.o
+COBJS-$(CONFIG_USB_EHCI_TEGRA) += usb.o
+COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))