aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-sam9-l9260.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-05 02:27:57 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-04-17 05:06:32 -0400
commit7eb1dbb3beb982a7d72514abff96ebc08a22e5cd (patch)
treef94d5c4c9e4f4b3acfbde20cf713a56af52fff80 /arch/arm/mach-at91/board-sam9-l9260.c
parent71b149b3f740501c2d59c80de5b10f5e45051099 (diff)
ARM: at91: move at91_init_leds to board init
This will also allow to finally move the gpio driver to platform device/driver. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9-l9260.c')
-rw-r--r--arch/arm/mach-at91/board-sam9-l9260.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c
index 5343dab295d4..cdd21f2595d2 100644
--- a/arch/arm/mach-at91/board-sam9-l9260.c
+++ b/arch/arm/mach-at91/board-sam9-l9260.c
@@ -48,9 +48,6 @@ static void __init ek_init_early(void)
48{ 48{
49 /* Initialize processor: 18.432 MHz crystal */ 49 /* Initialize processor: 18.432 MHz crystal */
50 at91_initialize(18432000); 50 at91_initialize(18432000);
51
52 /* Setup the LEDs */
53 at91_init_leds(AT91_PIN_PA9, AT91_PIN_PA6);
54} 51}
55 52
56/* 53/*
@@ -170,6 +167,9 @@ static struct at91_mmc_data __initdata ek_mmc_data = {
170 167
171static void __init ek_board_init(void) 168static void __init ek_board_init(void)
172{ 169{
170 /* Setup the LEDs */
171 at91_init_leds(AT91_PIN_PA9, AT91_PIN_PA6);
172
173 /* Serial */ 173 /* Serial */
174 /* DBGU on ttyS0. (Rx & Tx only) */ 174 /* DBGU on ttyS0. (Rx & Tx only) */
175 at91_register_uart(0, 0, 0); 175 at91_register_uart(0, 0, 0);