Skip to contentSkip to conversation

OMAP3 EVM: add usb support

PATCH In review Steve Sakoman 1 participant 1 message Apr 28, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/7 OMAP3 EVM: add usb support

From: Steve Sakoman <[email protected]>

Add USB support for OMAP3 EVM

---
 Makefile         |    3 ++-
 board-omap3evm.c |    4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff -uprN -X a/Documentation/dontdiff
a/arch/arm/mach-omap2/board-omap3evm.c
b/arch/arm/mach-omap2/board-omap3evm.c

arch/arm/mach-omap2/board-omap3evm.c +4 -0
@@ -28,6 +28,8 @@
 #include <asm/arch/gpio.h>
 #include <asm/arch/board.h>
 #include <asm/arch/hsmmc.h>
+#include <asm/arch/usb-musb.h>
+#include <asm/arch/usb-ehci.h>
 #include <asm/arch/common.h>
 
 static struct omap_uart_config omap3_evm_uart_config __initdata = {
@@ -67,6 +69,8 @@ static void __init omap3_evm_init(void)
 	omap_board_config_size = ARRAY_SIZE(omap3_evm_config);
 	omap_serial_init();
 	hsmmc_init();
+	usb_musb_init();
+	usb_ehci_init();
 }
 
 arch_initcall(omap3_evm_i2c_init);

diff -uprN -X a/Documentation/dontdiff a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile

arch/arm/mach-omap2/Makefile +2 -1
@@ -38,7 +38,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP)		+= boar
 					   usb-ehci.o \
 					   board-3430sdp-flash.o
 obj-$(CONFIG_MACH_OMAP3EVM)		+= board-omap3evm.o \
-					   hsmmc.o
+					   hsmmc.o \
+					   usb-musb.o usb-ehci.o
 obj-$(CONFIG_MACH_OMAP3_BEAGLE)		+= board-omap3beagle.o \
 					   usb-musb.o usb-ehci.o \
 					   hsmmc.o