aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-overo.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r--arch/arm/mach-omap2/board-overo.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index c8fde3e56441..86bab51154ee 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -36,6 +36,7 @@
36#include <linux/mtd/nand.h> 36#include <linux/mtd/nand.h>
37#include <linux/mtd/partitions.h> 37#include <linux/mtd/partitions.h>
38#include <linux/mmc/host.h> 38#include <linux/mmc/host.h>
39#include <linux/usb/phy.h>
39 40
40#include <linux/platform_data/mtd-nand-omap2.h> 41#include <linux/platform_data/mtd-nand-omap2.h>
41#include <linux/platform_data/spi-omap2-mcspi.h> 42#include <linux/platform_data/spi-omap2-mcspi.h>
@@ -457,7 +458,7 @@ static int __init overo_spi_init(void)
457 return 0; 458 return 0;
458} 459}
459 460
460static const struct usbhs_omap_board_data usbhs_bdata __initconst = { 461static struct usbhs_omap_platform_data usbhs_bdata __initdata = {
461 .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, 462 .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED,
462 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, 463 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
463 .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED, 464 .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
@@ -499,6 +500,7 @@ static void __init overo_init(void)
499 mt46h32m32lf6_sdrc_params); 500 mt46h32m32lf6_sdrc_params);
500 board_nand_init(overo_nand_partitions, 501 board_nand_init(overo_nand_partitions,
501 ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL); 502 ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL);
503 usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
502 usb_musb_init(NULL); 504 usb_musb_init(NULL);
503 usbhs_init(&usbhs_bdata); 505 usbhs_init(&usbhs_bdata);
504 overo_spi_init(); 506 overo_spi_init();
@@ -506,7 +508,7 @@ static void __init overo_init(void)
506 overo_display_init(); 508 overo_display_init();
507 overo_init_led(); 509 overo_init_led();
508 overo_init_keys(); 510 overo_init_keys();
509 omap_twl4030_audio_init("overo"); 511 omap_twl4030_audio_init("overo", NULL);
510 512
511 /* Ensure SDRC pins are mux'd for self-refresh */ 513 /* Ensure SDRC pins are mux'd for self-refresh */
512 omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); 514 omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);
@@ -551,6 +553,6 @@ MACHINE_START(OVERO, "Gumstix Overo")
551 .handle_irq = omap3_intc_handle_irq, 553 .handle_irq = omap3_intc_handle_irq,
552 .init_machine = overo_init, 554 .init_machine = overo_init,
553 .init_late = omap35xx_init_late, 555 .init_late = omap35xx_init_late,
554 .timer = &omap3_timer, 556 .init_time = omap3_sync32k_timer_init,
555 .restart = omap3xxx_restart, 557 .restart = omap3xxx_restart,
556MACHINE_END 558MACHINE_END