diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9263ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9263ek.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index c51f2eb3874b..ad71f4a71451 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
@@ -33,7 +33,6 @@ | |||
33 | 33 | ||
34 | #include <video/atmel_lcdc.h> | 34 | #include <video/atmel_lcdc.h> |
35 | 35 | ||
36 | #include <mach/hardware.h> | ||
37 | #include <asm/setup.h> | 36 | #include <asm/setup.h> |
38 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
39 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
@@ -42,6 +41,7 @@ | |||
42 | #include <asm/mach/map.h> | 41 | #include <asm/mach/map.h> |
43 | #include <asm/mach/irq.h> | 42 | #include <asm/mach/irq.h> |
44 | 43 | ||
44 | #include <mach/hardware.h> | ||
45 | #include <mach/board.h> | 45 | #include <mach/board.h> |
46 | #include <mach/gpio.h> | 46 | #include <mach/gpio.h> |
47 | #include <mach/at91sam9_smc.h> | 47 | #include <mach/at91sam9_smc.h> |
@@ -173,11 +173,11 @@ static struct mtd_partition __initdata ek_nand_partition[] = { | |||
173 | { | 173 | { |
174 | .name = "Partition 1", | 174 | .name = "Partition 1", |
175 | .offset = 0, | 175 | .offset = 0, |
176 | .size = 64 * 1024 * 1024, | 176 | .size = SZ_64M, |
177 | }, | 177 | }, |
178 | { | 178 | { |
179 | .name = "Partition 2", | 179 | .name = "Partition 2", |
180 | .offset = 64 * 1024 * 1024, | 180 | .offset = MTDPART_OFS_NXTBLK, |
181 | .size = MTDPART_SIZ_FULL, | 181 | .size = MTDPART_SIZ_FULL, |
182 | }, | 182 | }, |
183 | }; | 183 | }; |
@@ -227,7 +227,7 @@ static struct i2c_board_info __initdata ek_i2c_devices[] = { | |||
227 | #if defined(CONFIG_FB_ATMEL) || defined(CONFIG_FB_ATMEL_MODULE) | 227 | #if defined(CONFIG_FB_ATMEL) || defined(CONFIG_FB_ATMEL_MODULE) |
228 | static struct fb_videomode at91_tft_vga_modes[] = { | 228 | static struct fb_videomode at91_tft_vga_modes[] = { |
229 | { | 229 | { |
230 | .name = "TX09D50VM1CCA @ 60", | 230 | .name = "TX09D50VM1CCA @ 60", |
231 | .refresh = 60, | 231 | .refresh = 60, |
232 | .xres = 240, .yres = 320, | 232 | .xres = 240, .yres = 320, |
233 | .pixclock = KHZ2PICOS(4965), | 233 | .pixclock = KHZ2PICOS(4965), |
@@ -243,7 +243,7 @@ static struct fb_videomode at91_tft_vga_modes[] = { | |||
243 | 243 | ||
244 | static struct fb_monspecs at91fb_default_monspecs = { | 244 | static struct fb_monspecs at91fb_default_monspecs = { |
245 | .manufacturer = "HIT", | 245 | .manufacturer = "HIT", |
246 | .monitor = "TX09D70VM1CCA", | 246 | .monitor = "TX09D70VM1CCA", |
247 | 247 | ||
248 | .modedb = at91_tft_vga_modes, | 248 | .modedb = at91_tft_vga_modes, |
249 | .modedb_len = ARRAY_SIZE(at91_tft_vga_modes), | 249 | .modedb_len = ARRAY_SIZE(at91_tft_vga_modes), |
@@ -254,7 +254,7 @@ static struct fb_monspecs at91fb_default_monspecs = { | |||
254 | }; | 254 | }; |
255 | 255 | ||
256 | #define AT91SAM9263_DEFAULT_LCDCON2 (ATMEL_LCDC_MEMOR_LITTLE \ | 256 | #define AT91SAM9263_DEFAULT_LCDCON2 (ATMEL_LCDC_MEMOR_LITTLE \ |
257 | | ATMEL_LCDC_DISTYPE_TFT \ | 257 | | ATMEL_LCDC_DISTYPE_TFT \ |
258 | | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE) | 258 | | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE) |
259 | 259 | ||
260 | static void at91_lcdc_power_control(int on) | 260 | static void at91_lcdc_power_control(int on) |