diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3touchbook.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index 944ffc436577..a225d819633f 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -44,12 +44,12 @@ | |||
44 | #include <asm/system_info.h> | 44 | #include <asm/system_info.h> |
45 | 45 | ||
46 | #include "common.h" | 46 | #include "common.h" |
47 | #include <plat/gpmc.h> | 47 | #include "gpmc.h" |
48 | #include <linux/platform_data/mtd-nand-omap2.h> | 48 | #include <linux/platform_data/mtd-nand-omap2.h> |
49 | #include <plat/usb.h> | ||
50 | 49 | ||
51 | #include "mux.h" | 50 | #include "mux.h" |
52 | #include "hsmmc.h" | 51 | #include "hsmmc.h" |
52 | #include "board-flash.h" | ||
53 | #include "common-board-devices.h" | 53 | #include "common-board-devices.h" |
54 | 54 | ||
55 | #include <asm/setup.h> | 55 | #include <asm/setup.h> |
@@ -59,6 +59,8 @@ | |||
59 | #define TB_BL_PWM_TIMER 9 | 59 | #define TB_BL_PWM_TIMER 9 |
60 | #define TB_KILL_POWER_GPIO 168 | 60 | #define TB_KILL_POWER_GPIO 168 |
61 | 61 | ||
62 | #define NAND_CS 0 | ||
63 | |||
62 | static unsigned long touchbook_revision; | 64 | static unsigned long touchbook_revision; |
63 | 65 | ||
64 | static struct mtd_partition omap3touchbook_nand_partitions[] = { | 66 | static struct mtd_partition omap3touchbook_nand_partitions[] = { |
@@ -365,8 +367,9 @@ static void __init omap3_touchbook_init(void) | |||
365 | omap_ads7846_init(4, OMAP3_TS_GPIO, 310, &ads7846_pdata); | 367 | omap_ads7846_init(4, OMAP3_TS_GPIO, 310, &ads7846_pdata); |
366 | usb_musb_init(NULL); | 368 | usb_musb_init(NULL); |
367 | usbhs_init(&usbhs_bdata); | 369 | usbhs_init(&usbhs_bdata); |
368 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3touchbook_nand_partitions, | 370 | board_nand_init(omap3touchbook_nand_partitions, |
369 | ARRAY_SIZE(omap3touchbook_nand_partitions)); | 371 | ARRAY_SIZE(omap3touchbook_nand_partitions), NAND_CS, |
372 | NAND_BUSWIDTH_16, NULL); | ||
370 | 373 | ||
371 | /* Ensure SDRC pins are mux'd for self-refresh */ | 374 | /* Ensure SDRC pins are mux'd for self-refresh */ |
372 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); | 375 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); |