aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3stalker.c
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2011-04-27 04:56:12 -0400
committerTony Lindgren <tony@atomide.com>2011-05-09 11:15:31 -0400
commit9e18630b689d658d65bf59508bfec084f61ff5c6 (patch)
treeb9c1583d0d8eea28ad02b2a96ccf7116c8312fe2 /arch/arm/mach-omap2/board-omap3stalker.c
parent9a3f39ff36e11ea6b6c8b5f90337a864cb7e81f6 (diff)
omap: musb: introduce default board config
Most boards use exactly the same configuration for musb initialization. Create a default that can be shared amount different boards. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3stalker.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index a1d550f8ba91..9981d06b7269 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -526,12 +526,6 @@ static struct omap_board_mux board_mux[] __initdata = {
526}; 526};
527#endif 527#endif
528 528
529static struct omap_musb_board_data musb_board_data = {
530 .interface_type = MUSB_INTERFACE_ULPI,
531 .mode = MUSB_OTG,
532 .power = 100,
533};
534
535static void __init omap3_stalker_init(void) 529static void __init omap3_stalker_init(void)
536{ 530{
537 omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); 531 omap3_mux_init(board_mux, OMAP_PACKAGE_CUS);
@@ -546,7 +540,7 @@ static void __init omap3_stalker_init(void)
546 omap_display_init(&omap3_stalker_dss_data); 540 omap_display_init(&omap3_stalker_dss_data);
547 541
548 omap_serial_init(); 542 omap_serial_init();
549 usb_musb_init(&musb_board_data); 543 usb_musb_init(NULL);
550 usbhs_init(&usbhs_bdata); 544 usbhs_init(&usbhs_bdata);
551 omap_ads7846_init(1, OMAP3_STALKER_TS_GPIO, 310, NULL); 545 omap_ads7846_init(1, OMAP3_STALKER_TS_GPIO, 310, NULL);
552 546