diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-devkit8000.c')
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 1fd161e934c7..933479e36737 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -39,9 +39,8 @@ | |||
39 | #include <asm/mach/flash.h> | 39 | #include <asm/mach/flash.h> |
40 | 40 | ||
41 | #include "common.h" | 41 | #include "common.h" |
42 | #include <plat/gpmc.h> | 42 | #include "gpmc.h" |
43 | #include <linux/platform_data/mtd-nand-omap2.h> | 43 | #include <linux/platform_data/mtd-nand-omap2.h> |
44 | #include <plat/usb.h> | ||
45 | #include <video/omapdss.h> | 44 | #include <video/omapdss.h> |
46 | #include <video/omap-panel-generic-dpi.h> | 45 | #include <video/omap-panel-generic-dpi.h> |
47 | #include <video/omap-panel-tfp410.h> | 46 | #include <video/omap-panel-tfp410.h> |
@@ -55,8 +54,11 @@ | |||
55 | #include "sdram-micron-mt46h32m32lf-6.h" | 54 | #include "sdram-micron-mt46h32m32lf-6.h" |
56 | #include "mux.h" | 55 | #include "mux.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 OMAP_DM9000_GPIO_IRQ 25 | 62 | #define OMAP_DM9000_GPIO_IRQ 25 |
61 | #define OMAP3_DEVKIT_TS_GPIO 27 | 63 | #define OMAP3_DEVKIT_TS_GPIO 27 |
62 | 64 | ||
@@ -621,8 +623,9 @@ static void __init devkit8000_init(void) | |||
621 | 623 | ||
622 | usb_musb_init(NULL); | 624 | usb_musb_init(NULL); |
623 | usbhs_init(&usbhs_bdata); | 625 | usbhs_init(&usbhs_bdata); |
624 | omap_nand_flash_init(NAND_BUSWIDTH_16, devkit8000_nand_partitions, | 626 | board_nand_init(devkit8000_nand_partitions, |
625 | ARRAY_SIZE(devkit8000_nand_partitions)); | 627 | ARRAY_SIZE(devkit8000_nand_partitions), NAND_CS, |
628 | NAND_BUSWIDTH_16, NULL); | ||
626 | omap_twl4030_audio_init("omap3beagle"); | 629 | omap_twl4030_audio_init("omap3beagle"); |
627 | 630 | ||
628 | /* Ensure SDRC pins are mux'd for self-refresh */ | 631 | /* Ensure SDRC pins are mux'd for self-refresh */ |