diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t3517.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t3517.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index a33ad4641d9a..59c0a45f75b0 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c | |||
@@ -38,13 +38,12 @@ | |||
38 | #include <asm/mach/arch.h> | 38 | #include <asm/mach/arch.h> |
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | 40 | ||
41 | #include <plat/board.h> | ||
42 | #include "common.h" | 41 | #include "common.h" |
43 | #include <plat/usb.h> | 42 | #include <plat/usb.h> |
44 | #include <plat/nand.h> | 43 | #include <linux/platform_data/mtd-nand-omap2.h> |
45 | #include <plat/gpmc.h> | 44 | #include <plat/gpmc.h> |
46 | 45 | ||
47 | #include <mach/am35xx.h> | 46 | #include "am35xx.h" |
48 | 47 | ||
49 | #include "mux.h" | 48 | #include "mux.h" |
50 | #include "control.h" | 49 | #include "control.h" |
@@ -90,8 +89,7 @@ static struct resource cm_t3517_hecc_resources[] = { | |||
90 | .flags = IORESOURCE_MEM, | 89 | .flags = IORESOURCE_MEM, |
91 | }, | 90 | }, |
92 | { | 91 | { |
93 | .start = INT_35XX_HECC0_IRQ, | 92 | .start = 24 + OMAP_INTC_START, |
94 | .end = INT_35XX_HECC0_IRQ, | ||
95 | .flags = IORESOURCE_IRQ, | 93 | .flags = IORESOURCE_IRQ, |
96 | }, | 94 | }, |
97 | }; | 95 | }; |
@@ -249,9 +247,6 @@ static void __init cm_t3517_init_nand(void) | |||
249 | static inline void cm_t3517_init_nand(void) {} | 247 | static inline void cm_t3517_init_nand(void) {} |
250 | #endif | 248 | #endif |
251 | 249 | ||
252 | static struct omap_board_config_kernel cm_t3517_config[] __initdata = { | ||
253 | }; | ||
254 | |||
255 | #ifdef CONFIG_OMAP_MUX | 250 | #ifdef CONFIG_OMAP_MUX |
256 | static struct omap_board_mux board_mux[] __initdata = { | 251 | static struct omap_board_mux board_mux[] __initdata = { |
257 | /* GPIO186 - Green LED */ | 252 | /* GPIO186 - Green LED */ |
@@ -285,8 +280,6 @@ static void __init cm_t3517_init(void) | |||
285 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 280 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
286 | omap_serial_init(); | 281 | omap_serial_init(); |
287 | omap_sdrc_init(NULL, NULL); | 282 | omap_sdrc_init(NULL, NULL); |
288 | omap_board_config = cm_t3517_config; | ||
289 | omap_board_config_size = ARRAY_SIZE(cm_t3517_config); | ||
290 | cm_t3517_init_leds(); | 283 | cm_t3517_init_leds(); |
291 | cm_t3517_init_nand(); | 284 | cm_t3517_init_nand(); |
292 | cm_t3517_init_rtc(); | 285 | cm_t3517_init_rtc(); |