From: Steve Sakoman <[EMAIL PROTECTED]>

Add USB support for OMAP3 EVM

Signed-off-by: Steve Sakoman <[EMAIL PROTECTED]>
---
 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
--- a/arch/arm/mach-omap2/board-omap3evm.c      2008-04-27 21:47:31.000000000 
-0700
+++ b/arch/arm/mach-omap2/board-omap3evm.c      2008-04-27 21:53:37.000000000 
-0700
@@ -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
--- a/arch/arm/mach-omap2/Makefile      2008-04-27 21:47:31.000000000 -0700
+++ b/arch/arm/mach-omap2/Makefile      2008-04-27 21:50:56.000000000 -0700
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to