diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9rlek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index c6dce49c388c..270851864308 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | #include <video/atmel_lcdc.h> | 19 | #include <video/atmel_lcdc.h> |
20 | 20 | ||
21 | #include <mach/hardware.h> | ||
22 | #include <asm/setup.h> | 21 | #include <asm/setup.h> |
23 | #include <asm/mach-types.h> | 22 | #include <asm/mach-types.h> |
24 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
@@ -27,6 +26,7 @@ | |||
27 | #include <asm/mach/map.h> | 26 | #include <asm/mach/map.h> |
28 | #include <asm/mach/irq.h> | 27 | #include <asm/mach/irq.h> |
29 | 28 | ||
29 | #include <mach/hardware.h> | ||
30 | #include <mach/board.h> | 30 | #include <mach/board.h> |
31 | #include <mach/gpio.h> | 31 | #include <mach/gpio.h> |
32 | #include <mach/at91sam9_smc.h> | 32 | #include <mach/at91sam9_smc.h> |
@@ -81,11 +81,11 @@ static struct mtd_partition __initdata ek_nand_partition[] = { | |||
81 | { | 81 | { |
82 | .name = "Partition 1", | 82 | .name = "Partition 1", |
83 | .offset = 0, | 83 | .offset = 0, |
84 | .size = 256 * 1024, | 84 | .size = SZ_256K, |
85 | }, | 85 | }, |
86 | { | 86 | { |
87 | .name = "Partition 2", | 87 | .name = "Partition 2", |
88 | .offset = 256 * 1024 , | 88 | .offset = MTDPART_OFS_NXTBLK, |
89 | .size = MTDPART_SIZ_FULL, | 89 | .size = MTDPART_SIZ_FULL, |
90 | }, | 90 | }, |
91 | }; | 91 | }; |
@@ -195,6 +195,8 @@ static void __init ek_board_init(void) | |||
195 | at91_add_device_mmc(0, &ek_mmc_data); | 195 | at91_add_device_mmc(0, &ek_mmc_data); |
196 | /* LCD Controller */ | 196 | /* LCD Controller */ |
197 | at91_add_device_lcdc(&ek_lcdc_data); | 197 | at91_add_device_lcdc(&ek_lcdc_data); |
198 | /* Touch Screen Controller */ | ||
199 | at91_add_device_tsadcc(); | ||
198 | } | 200 | } |
199 | 201 | ||
200 | MACHINE_START(AT91SAM9RLEK, "Atmel AT91SAM9RL-EK") | 202 | MACHINE_START(AT91SAM9RLEK, "Atmel AT91SAM9RL-EK") |