diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9261ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index b446645c7727..d3437624ca4e 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -264,11 +264,7 @@ static void __init ek_add_device_ts(void) {} | |||
264 | */ | 264 | */ |
265 | static struct at73c213_board_info at73c213_data = { | 265 | static struct at73c213_board_info at73c213_data = { |
266 | .ssc_id = 1, | 266 | .ssc_id = 1, |
267 | #if defined(CONFIG_MACH_AT91SAM9261EK) | 267 | .shortname = "AT91SAM9261/9G10-EK external DAC", |
268 | .shortname = "AT91SAM9261-EK external DAC", | ||
269 | #else | ||
270 | .shortname = "AT91SAM9G10-EK external DAC", | ||
271 | #endif | ||
272 | }; | 268 | }; |
273 | 269 | ||
274 | #if defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE) | 270 | #if defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE) |
@@ -412,9 +408,6 @@ static struct atmel_lcdfb_info __initdata ek_lcdc_data = { | |||
412 | .default_monspecs = &at91fb_default_stn_monspecs, | 408 | .default_monspecs = &at91fb_default_stn_monspecs, |
413 | .atmel_lcdfb_power_control = at91_lcdc_stn_power_control, | 409 | .atmel_lcdfb_power_control = at91_lcdc_stn_power_control, |
414 | .guard_time = 1, | 410 | .guard_time = 1, |
415 | #if defined(CONFIG_MACH_AT91SAM9G10EK) | ||
416 | .lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB, | ||
417 | #endif | ||
418 | }; | 411 | }; |
419 | 412 | ||
420 | #else | 413 | #else |
@@ -468,9 +461,6 @@ static struct atmel_lcdfb_info __initdata ek_lcdc_data = { | |||
468 | .default_monspecs = &at91fb_default_tft_monspecs, | 461 | .default_monspecs = &at91fb_default_tft_monspecs, |
469 | .atmel_lcdfb_power_control = at91_lcdc_tft_power_control, | 462 | .atmel_lcdfb_power_control = at91_lcdc_tft_power_control, |
470 | .guard_time = 1, | 463 | .guard_time = 1, |
471 | #if defined(CONFIG_MACH_AT91SAM9G10EK) | ||
472 | .lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB, | ||
473 | #endif | ||
474 | }; | 464 | }; |
475 | #endif | 465 | #endif |
476 | 466 | ||
@@ -574,6 +564,10 @@ static void __init ek_board_init(void) | |||
574 | /* DBGU on ttyS0. (Rx & Tx only) */ | 564 | /* DBGU on ttyS0. (Rx & Tx only) */ |
575 | at91_register_uart(0, 0, 0); | 565 | at91_register_uart(0, 0, 0); |
576 | at91_add_device_serial(); | 566 | at91_add_device_serial(); |
567 | |||
568 | if (cpu_is_at91sam9g10()) | ||
569 | ek_lcdc_data.lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB; | ||
570 | |||
577 | /* USB Host */ | 571 | /* USB Host */ |
578 | at91_add_device_usbh(&ek_usbh_data); | 572 | at91_add_device_usbh(&ek_usbh_data); |
579 | /* USB Device */ | 573 | /* USB Device */ |
@@ -606,11 +600,17 @@ static void __init ek_board_init(void) | |||
606 | at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); | 600 | at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); |
607 | } | 601 | } |
608 | 602 | ||
609 | #if defined(CONFIG_MACH_AT91SAM9261EK) | ||
610 | MACHINE_START(AT91SAM9261EK, "Atmel AT91SAM9261-EK") | 603 | MACHINE_START(AT91SAM9261EK, "Atmel AT91SAM9261-EK") |
611 | #else | 604 | /* Maintainer: Atmel */ |
605 | .init_time = at91sam926x_pit_init, | ||
606 | .map_io = at91_map_io, | ||
607 | .handle_irq = at91_aic_handle_irq, | ||
608 | .init_early = ek_init_early, | ||
609 | .init_irq = at91_init_irq_default, | ||
610 | .init_machine = ek_board_init, | ||
611 | MACHINE_END | ||
612 | |||
612 | MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK") | 613 | MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK") |
613 | #endif | ||
614 | /* Maintainer: Atmel */ | 614 | /* Maintainer: Atmel */ |
615 | .init_time = at91sam926x_pit_init, | 615 | .init_time = at91sam926x_pit_init, |
616 | .map_io = at91_map_io, | 616 | .map_io = at91_map_io, |