aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-3430sdp.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-3430sdp.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-3430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-3430sdp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
index b12400e2c49a..951e5857ad31 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -810,12 +810,6 @@ static struct flash_partitions sdp_flash_partitions[] = {
810 }, 810 },
811}; 811};
812 812
813static struct omap_musb_board_data musb_board_data = {
814 .interface_type = MUSB_INTERFACE_ULPI,
815 .mode = MUSB_OTG,
816 .power = 100,
817};
818
819static void __init omap_3430sdp_init(void) 813static void __init omap_3430sdp_init(void)
820{ 814{
821 int gpio_pendown; 815 int gpio_pendown;
@@ -832,7 +826,7 @@ static void __init omap_3430sdp_init(void)
832 gpio_pendown = SDP3430_TS_GPIO_IRQ_SDPV1; 826 gpio_pendown = SDP3430_TS_GPIO_IRQ_SDPV1;
833 omap_ads7846_init(1, gpio_pendown, 310, NULL); 827 omap_ads7846_init(1, gpio_pendown, 310, NULL);
834 board_serial_init(); 828 board_serial_init();
835 usb_musb_init(&musb_board_data); 829 usb_musb_init(NULL);
836 board_smc91x_init(); 830 board_smc91x_init();
837 board_flash_init(sdp_flash_partitions, chip_sel_3430, 0); 831 board_flash_init(sdp_flash_partitions, chip_sel_3430, 0);
838 sdp3430_display_init(); 832 sdp3430_display_init();