diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2009-03-23 21:34:06 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-03-23 21:51:24 -0400 |
commit | 18cb7aca6f94357d78d99970ec0bd5933ac4495d (patch) | |
tree | 1aa3d785809dda5ca492c862868ac2704cc0b18f /arch/arm/mach-omap2/board-omap3pandora.c | |
parent | 828c707e6dbd0ca7882f721a466ff28729376ff0 (diff) |
ARM: OMAP3: MUSB initialization for omap hw, v2
Create a generic board-file for initializing usb
on omap2430 and omap3 boards.
Patch modified by Tony to build the module based on
CONFIG_USB_MUSB_SOC. Also merged in a patch adding
the nop xceiv from Ajay Kumar Gupta <ajay.gupta@ti.com>.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 6e17180c1a51..16e2128daa12 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <mach/gpio.h> | 34 | #include <mach/gpio.h> |
35 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
36 | #include <mach/mcspi.h> | 36 | #include <mach/mcspi.h> |
37 | #include <mach/usb.h> | ||
37 | 38 | ||
38 | #include "mmc-twl4030.h" | 39 | #include "mmc-twl4030.h" |
39 | 40 | ||
@@ -200,6 +201,7 @@ static void __init omap3pandora_init(void) | |||
200 | spi_register_board_info(omap3pandora_spi_board_info, | 201 | spi_register_board_info(omap3pandora_spi_board_info, |
201 | ARRAY_SIZE(omap3pandora_spi_board_info)); | 202 | ARRAY_SIZE(omap3pandora_spi_board_info)); |
202 | omap3pandora_ads7846_init(); | 203 | omap3pandora_ads7846_init(); |
204 | usb_musb_init(); | ||
203 | } | 205 | } |
204 | 206 | ||
205 | static void __init omap3pandora_map_io(void) | 207 | static void __init omap3pandora_map_io(void) |