diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index b9b776b6c954..3c0b9a90f3b3 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/spi/ads7846.h> | 32 | #include <linux/spi/ads7846.h> |
33 | #include <linux/i2c/twl.h> | 33 | #include <linux/i2c/twl.h> |
34 | #include <linux/usb/otg.h> | 34 | #include <linux/usb/otg.h> |
35 | #include <linux/usb/musb.h> | ||
35 | #include <linux/usb/nop-usb-xceiv.h> | 36 | #include <linux/usb/nop-usb-xceiv.h> |
36 | #include <linux/smsc911x.h> | 37 | #include <linux/smsc911x.h> |
37 | 38 | ||
@@ -45,17 +46,20 @@ | |||
45 | #include <asm/mach/arch.h> | 46 | #include <asm/mach/arch.h> |
46 | #include <asm/mach/map.h> | 47 | #include <asm/mach/map.h> |
47 | 48 | ||
48 | #include <plat/usb.h> | ||
49 | #include <linux/platform_data/mtd-nand-omap2.h> | 49 | #include <linux/platform_data/mtd-nand-omap2.h> |
50 | #include "common.h" | 50 | #include "common.h" |
51 | #include <linux/platform_data/spi-omap2-mcspi.h> | 51 | #include <linux/platform_data/spi-omap2-mcspi.h> |
52 | #include <video/omapdss.h> | 52 | #include <video/omapdss.h> |
53 | #include <video/omap-panel-tfp410.h> | 53 | #include <video/omap-panel-tfp410.h> |
54 | 54 | ||
55 | #include "soc.h" | ||
55 | #include "mux.h" | 56 | #include "mux.h" |
56 | #include "sdram-micron-mt46h32m32lf-6.h" | 57 | #include "sdram-micron-mt46h32m32lf-6.h" |
57 | #include "hsmmc.h" | 58 | #include "hsmmc.h" |
58 | #include "common-board-devices.h" | 59 | #include "common-board-devices.h" |
60 | #include "board-flash.h" | ||
61 | |||
62 | #define NAND_CS 0 | ||
59 | 63 | ||
60 | #define OMAP3_EVM_TS_GPIO 175 | 64 | #define OMAP3_EVM_TS_GPIO 175 |
61 | #define OMAP3_EVM_EHCI_VBUS 22 | 65 | #define OMAP3_EVM_EHCI_VBUS 22 |
@@ -731,8 +735,9 @@ static void __init omap3_evm_init(void) | |||
731 | } | 735 | } |
732 | usb_musb_init(&musb_board_data); | 736 | usb_musb_init(&musb_board_data); |
733 | usbhs_init(&usbhs_bdata); | 737 | usbhs_init(&usbhs_bdata); |
734 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3evm_nand_partitions, | 738 | board_nand_init(omap3evm_nand_partitions, |
735 | ARRAY_SIZE(omap3evm_nand_partitions)); | 739 | ARRAY_SIZE(omap3evm_nand_partitions), NAND_CS, |
740 | NAND_BUSWIDTH_16, NULL); | ||
736 | 741 | ||
737 | omap_ads7846_init(1, OMAP3_EVM_TS_GPIO, 310, NULL); | 742 | omap_ads7846_init(1, OMAP3_EVM_TS_GPIO, 310, NULL); |
738 | omap3evm_init_smsc911x(); | 743 | omap3evm_init_smsc911x(); |