diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 48d5e41dfbfa..0f24cb84ba5a 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -29,20 +29,19 @@ | |||
29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
30 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
31 | 31 | ||
32 | #include "common.h" | ||
33 | #include <plat/gpmc.h> | ||
34 | #include <plat/usb.h> | ||
35 | |||
36 | #include <video/omapdss.h> | 32 | #include <video/omapdss.h> |
37 | #include <video/omap-panel-tfp410.h> | 33 | #include <video/omap-panel-tfp410.h> |
38 | #include <linux/platform_data/mtd-onenand-omap2.h> | 34 | #include <linux/platform_data/mtd-onenand-omap2.h> |
39 | 35 | ||
36 | #include "common.h" | ||
37 | #include "gpmc.h" | ||
40 | #include "mux.h" | 38 | #include "mux.h" |
41 | #include "hsmmc.h" | 39 | #include "hsmmc.h" |
42 | #include "sdram-numonyx-m65kxxxxam.h" | 40 | #include "sdram-numonyx-m65kxxxxam.h" |
43 | #include "common-board-devices.h" | 41 | #include "common-board-devices.h" |
44 | #include "board-flash.h" | 42 | #include "board-flash.h" |
45 | #include "control.h" | 43 | #include "control.h" |
44 | #include "gpmc-onenand.h" | ||
46 | 45 | ||
47 | #define IGEP2_SMSC911X_CS 5 | 46 | #define IGEP2_SMSC911X_CS 5 |
48 | #define IGEP2_SMSC911X_GPIO 176 | 47 | #define IGEP2_SMSC911X_GPIO 176 |
@@ -175,7 +174,7 @@ static void __init igep_flash_init(void) | |||
175 | pr_info("IGEP: initializing NAND memory device\n"); | 174 | pr_info("IGEP: initializing NAND memory device\n"); |
176 | board_nand_init(igep_flash_partitions, | 175 | board_nand_init(igep_flash_partitions, |
177 | ARRAY_SIZE(igep_flash_partitions), | 176 | ARRAY_SIZE(igep_flash_partitions), |
178 | 0, NAND_BUSWIDTH_16); | 177 | 0, NAND_BUSWIDTH_16, nand_default_timings); |
179 | } else if (mux == IGEP_SYSBOOT_ONENAND) { | 178 | } else if (mux == IGEP_SYSBOOT_ONENAND) { |
180 | pr_info("IGEP: initializing OneNAND memory device\n"); | 179 | pr_info("IGEP: initializing OneNAND memory device\n"); |
181 | board_onenand_init(igep_flash_partitions, | 180 | board_onenand_init(igep_flash_partitions, |
@@ -580,6 +579,11 @@ static void __init igep_wlan_bt_init(void) | |||
580 | } else | 579 | } else |
581 | return; | 580 | return; |
582 | 581 | ||
582 | /* Make sure that the GPIO pins are muxed correctly */ | ||
583 | omap_mux_init_gpio(igep_wlan_bt_gpios[0].gpio, OMAP_PIN_OUTPUT); | ||
584 | omap_mux_init_gpio(igep_wlan_bt_gpios[1].gpio, OMAP_PIN_OUTPUT); | ||
585 | omap_mux_init_gpio(igep_wlan_bt_gpios[2].gpio, OMAP_PIN_OUTPUT); | ||
586 | |||
583 | err = gpio_request_array(igep_wlan_bt_gpios, | 587 | err = gpio_request_array(igep_wlan_bt_gpios, |
584 | ARRAY_SIZE(igep_wlan_bt_gpios)); | 588 | ARRAY_SIZE(igep_wlan_bt_gpios)); |
585 | if (err) { | 589 | if (err) { |
@@ -652,7 +656,7 @@ MACHINE_START(IGEP0020, "IGEP v2 board") | |||
652 | .init_machine = igep_init, | 656 | .init_machine = igep_init, |
653 | .init_late = omap35xx_init_late, | 657 | .init_late = omap35xx_init_late, |
654 | .timer = &omap3_timer, | 658 | .timer = &omap3_timer, |
655 | .restart = omap_prcm_restart, | 659 | .restart = omap3xxx_restart, |
656 | MACHINE_END | 660 | MACHINE_END |
657 | 661 | ||
658 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") | 662 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") |
@@ -665,5 +669,5 @@ MACHINE_START(IGEP0030, "IGEP OMAP3 module") | |||
665 | .init_machine = igep_init, | 669 | .init_machine = igep_init, |
666 | .init_late = omap35xx_init_late, | 670 | .init_late = omap35xx_init_late, |
667 | .timer = &omap3_timer, | 671 | .timer = &omap3_timer, |
668 | .restart = omap_prcm_restart, | 672 | .restart = omap3xxx_restart, |
669 | MACHINE_END | 673 | MACHINE_END |