diff options
author | Mike Rapoport <mike@compulab.co.il> | 2011-04-27 04:56:12 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-05-09 11:15:31 -0400 |
commit | 9e18630b689d658d65bf59508bfec084f61ff5c6 (patch) | |
tree | b9c1583d0d8eea28ad02b2a96ccf7116c8312fe2 /arch/arm/mach-omap2/board-overo.c | |
parent | 9a3f39ff36e11ea6b6c8b5f90337a864cb7e81f6 (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-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 7ad2d7fea8d8..e152c13ded75 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -553,12 +553,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
553 | }; | 553 | }; |
554 | #endif | 554 | #endif |
555 | 555 | ||
556 | static struct omap_musb_board_data musb_board_data = { | ||
557 | .interface_type = MUSB_INTERFACE_ULPI, | ||
558 | .mode = MUSB_OTG, | ||
559 | .power = 100, | ||
560 | }; | ||
561 | |||
562 | static void __init overo_init(void) | 556 | static void __init overo_init(void) |
563 | { | 557 | { |
564 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 558 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
@@ -567,7 +561,7 @@ static void __init overo_init(void) | |||
567 | omap_serial_init(); | 561 | omap_serial_init(); |
568 | omap_nand_flash_init(0, overo_nand_partitions, | 562 | omap_nand_flash_init(0, overo_nand_partitions, |
569 | ARRAY_SIZE(overo_nand_partitions)); | 563 | ARRAY_SIZE(overo_nand_partitions)); |
570 | usb_musb_init(&musb_board_data); | 564 | usb_musb_init(NULL); |
571 | usbhs_init(&usbhs_bdata); | 565 | usbhs_init(&usbhs_bdata); |
572 | overo_spi_init(); | 566 | overo_spi_init(); |
573 | overo_ads7846_init(); | 567 | overo_ads7846_init(); |