diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9261ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 065fed342424..2736453821b0 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -58,15 +58,6 @@ static void __init ek_init_early(void) | |||
58 | { | 58 | { |
59 | /* Initialize processor: 18.432 MHz crystal */ | 59 | /* Initialize processor: 18.432 MHz crystal */ |
60 | at91_initialize(18432000); | 60 | at91_initialize(18432000); |
61 | |||
62 | /* Setup the LEDs */ | ||
63 | at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14); | ||
64 | |||
65 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
66 | at91_register_uart(0, 0, 0); | ||
67 | |||
68 | /* set serial console to ttyS0 (ie, DBGU) */ | ||
69 | at91_set_serial_console(0); | ||
70 | } | 61 | } |
71 | 62 | ||
72 | /* | 63 | /* |
@@ -577,7 +568,12 @@ static struct gpio_led ek_leds[] = { | |||
577 | 568 | ||
578 | static void __init ek_board_init(void) | 569 | static void __init ek_board_init(void) |
579 | { | 570 | { |
571 | /* Setup the LEDs */ | ||
572 | at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14); | ||
573 | |||
580 | /* Serial */ | 574 | /* Serial */ |
575 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
576 | at91_register_uart(0, 0, 0); | ||
581 | at91_add_device_serial(); | 577 | at91_add_device_serial(); |
582 | /* USB Host */ | 578 | /* USB Host */ |
583 | at91_add_device_usbh(&ek_usbh_data); | 579 | at91_add_device_usbh(&ek_usbh_data); |