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-omap3touchbook.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-omap3touchbook.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index d770802900b2..392278d9a882 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -421,12 +421,6 @@ static int __init early_touchbook_revision(char *p) | |||
421 | } | 421 | } |
422 | early_param("tbr", early_touchbook_revision); | 422 | early_param("tbr", early_touchbook_revision); |
423 | 423 | ||
424 | static struct omap_musb_board_data musb_board_data = { | ||
425 | .interface_type = MUSB_INTERFACE_ULPI, | ||
426 | .mode = MUSB_OTG, | ||
427 | .power = 100, | ||
428 | }; | ||
429 | |||
430 | static void __init omap3_touchbook_init(void) | 424 | static void __init omap3_touchbook_init(void) |
431 | { | 425 | { |
432 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 426 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
@@ -447,7 +441,7 @@ static void __init omap3_touchbook_init(void) | |||
447 | 441 | ||
448 | /* Touchscreen and accelerometer */ | 442 | /* Touchscreen and accelerometer */ |
449 | omap_ads7846_init(4, OMAP3_TS_GPIO, 310, &ads7846_pdata); | 443 | omap_ads7846_init(4, OMAP3_TS_GPIO, 310, &ads7846_pdata); |
450 | usb_musb_init(&musb_board_data); | 444 | usb_musb_init(NULL); |
451 | usbhs_init(&usbhs_bdata); | 445 | usbhs_init(&usbhs_bdata); |
452 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3touchbook_nand_partitions, | 446 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3touchbook_nand_partitions, |
453 | ARRAY_SIZE(omap3touchbook_nand_partitions)); | 447 | ARRAY_SIZE(omap3touchbook_nand_partitions)); |