]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: BEAGLE: Add usb support for omap3beagle
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 24 Apr 2008 21:46:00 +0000 (00:46 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Apr 2008 21:47:17 +0000 (14:47 -0700)
This patch is based on previous patch by
Koen Kooi <koen@openembedded.org>. It uses
the new generic usb init calls for omap3-
and omap2430-based boards.

Signed-off-by: Felipe Balbi <me@felipebalbi.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/board-omap3beagle.c

index 9b6f60e5ed1ba793d8e6ac974bdc297c9c10ebac..725dae518f98232fcc455381a4124a0cf3d435ad 100644 (file)
@@ -39,6 +39,7 @@ obj-$(CONFIG_MACH_OMAP_3430SDP)               += board-3430sdp.o \
                                           board-3430sdp-flash.o
 obj-$(CONFIG_MACH_OMAP3EVM)            += board-omap3evm.o
 obj-$(CONFIG_MACH_OMAP3_BEAGLE)                += board-omap3beagle.o \
+                                          usb-musb.o usb-ehci.o \
                                           board-sdp-hsmmc.o
 obj-$(CONFIG_MACH_OMAP_APOLLON)                += board-apollon.o \
                                           board-apollon-mmc.o  \
index c03bb260ded3056f4a5d66acab3c33fe830ab019..ad5ad2e6d2a815dc3658cfc64c8f605962174288 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <asm/arch/gpio.h>
 #include <asm/arch/board.h>
+#include <asm/arch/usb-musb.h>
+#include <asm/arch/usb-ehci.h>
 #include <asm/arch/common.h>
 
 static struct omap_uart_config omap3_beagle_uart_config __initdata = {
@@ -66,6 +68,8 @@ static void __init omap3_beagle_init(void)
        omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
        omap_serial_init();
        sdp_mmc_init();
+       usb_musb_init();
+       usb_ehci_init();
 }
 
 arch_initcall(omap3_beagle_i2c_init);