From bf37ec8435ed911d22c6cd7666d005d14669d781 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Fri, 25 Apr 2008 00:46:00 +0300 Subject: [PATCH] USB: BEAGLE: Add usb support for omap3beagle This patch is based on previous patch by Koen Kooi . It uses the new generic usb init calls for omap3- and omap2430-based boards. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Makefile | 1 + arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 9b6f60e5ed1..725dae518f9 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -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 \ diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index c03bb260ded..ad5ad2e6d2a 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -27,6 +27,8 @@ #include #include +#include +#include #include 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); -- 2.41.1