diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index b700685762b5..c8fde3e56441 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -45,18 +45,20 @@ | |||
45 | #include <asm/mach/flash.h> | 45 | #include <asm/mach/flash.h> |
46 | #include <asm/mach/map.h> | 46 | #include <asm/mach/map.h> |
47 | 47 | ||
48 | #include "common.h" | ||
49 | #include <video/omapdss.h> | 48 | #include <video/omapdss.h> |
50 | #include <video/omap-panel-generic-dpi.h> | 49 | #include <video/omap-panel-generic-dpi.h> |
51 | #include <video/omap-panel-tfp410.h> | 50 | #include <video/omap-panel-tfp410.h> |
52 | #include <plat/gpmc.h> | ||
53 | #include <plat/usb.h> | ||
54 | 51 | ||
52 | #include "common.h" | ||
55 | #include "mux.h" | 53 | #include "mux.h" |
56 | #include "sdram-micron-mt46h32m32lf-6.h" | 54 | #include "sdram-micron-mt46h32m32lf-6.h" |
55 | #include "gpmc.h" | ||
57 | #include "hsmmc.h" | 56 | #include "hsmmc.h" |
57 | #include "board-flash.h" | ||
58 | #include "common-board-devices.h" | 58 | #include "common-board-devices.h" |
59 | 59 | ||
60 | #define NAND_CS 0 | ||
61 | |||
60 | #define OVERO_GPIO_BT_XGATE 15 | 62 | #define OVERO_GPIO_BT_XGATE 15 |
61 | #define OVERO_GPIO_W2W_NRESET 16 | 63 | #define OVERO_GPIO_W2W_NRESET 16 |
62 | #define OVERO_GPIO_PENDOWN 114 | 64 | #define OVERO_GPIO_PENDOWN 114 |
@@ -495,8 +497,8 @@ static void __init overo_init(void) | |||
495 | omap_serial_init(); | 497 | omap_serial_init(); |
496 | omap_sdrc_init(mt46h32m32lf6_sdrc_params, | 498 | omap_sdrc_init(mt46h32m32lf6_sdrc_params, |
497 | mt46h32m32lf6_sdrc_params); | 499 | mt46h32m32lf6_sdrc_params); |
498 | omap_nand_flash_init(0, overo_nand_partitions, | 500 | board_nand_init(overo_nand_partitions, |
499 | ARRAY_SIZE(overo_nand_partitions)); | 501 | ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL); |
500 | usb_musb_init(NULL); | 502 | usb_musb_init(NULL); |
501 | usbhs_init(&usbhs_bdata); | 503 | usbhs_init(&usbhs_bdata); |
502 | overo_spi_init(); | 504 | overo_spi_init(); |
@@ -550,5 +552,5 @@ MACHINE_START(OVERO, "Gumstix Overo") | |||
550 | .init_machine = overo_init, | 552 | .init_machine = overo_init, |
551 | .init_late = omap35xx_init_late, | 553 | .init_late = omap35xx_init_late, |
552 | .timer = &omap3_timer, | 554 | .timer = &omap3_timer, |
553 | .restart = omap_prcm_restart, | 555 | .restart = omap3xxx_restart, |
554 | MACHINE_END | 556 | MACHINE_END |