diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9rlek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index c6dce49c388c..3d3f61572cff 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 | }; |