diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-05 02:14:28 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-04-17 05:04:42 -0400 |
commit | 71b149b3f740501c2d59c80de5b10f5e45051099 (patch) | |
tree | 101450eaa5658b89d9d85e67fa1d7f56557457ab /arch/arm/mach-at91/board-usb-a926x.c | |
parent | a27fa58117ae1161adefedde449e5a71b3c593a4 (diff) |
ARM: at91: do not pin mux the UARTs in init_early
There is no need to pinmux the UART so early in the kernel.
Move it to the 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-usb-a926x.c')
-rw-r--r-- | arch/arm/mach-at91/board-usb-a926x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-usb-a926x.c b/arch/arm/mach-at91/board-usb-a926x.c index ee482ebd07a9..332ecd40bd02 100644 --- a/arch/arm/mach-at91/board-usb-a926x.c +++ b/arch/arm/mach-at91/board-usb-a926x.c | |||
@@ -53,9 +53,6 @@ static void __init ek_init_early(void) | |||
53 | { | 53 | { |
54 | /* Initialize processor: 12.00 MHz crystal */ | 54 | /* Initialize processor: 12.00 MHz crystal */ |
55 | at91_initialize(12000000); | 55 | at91_initialize(12000000); |
56 | |||
57 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
58 | at91_register_uart(0, 0, 0); | ||
59 | } | 56 | } |
60 | 57 | ||
61 | /* | 58 | /* |
@@ -322,6 +319,8 @@ static void __init ek_add_device_leds(void) | |||
322 | static void __init ek_board_init(void) | 319 | static void __init ek_board_init(void) |
323 | { | 320 | { |
324 | /* Serial */ | 321 | /* Serial */ |
322 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
323 | at91_register_uart(0, 0, 0); | ||
325 | at91_add_device_serial(); | 324 | at91_add_device_serial(); |
326 | /* USB Host */ | 325 | /* USB Host */ |
327 | at91_add_device_usbh(&ek_usbh_data); | 326 | at91_add_device_usbh(&ek_usbh_data); |