summaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards/merisc
diff options
context:
space:
mode:
authorPeter Ma <pma@mediamatech.com>2009-03-31 10:31:02 -0700
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-04-01 16:13:45 +0200
commitbf4861cf3e7df123c0c62f00ae2c301c292f669c (patch)
tree916a73a6597b06e719f6f96a499fb0bcaa44a5b6 /arch/avr32/boards/merisc
parenta6b6b5ff8f31960f760dd849beb70e1ae8ddc0e2 (diff)
avr32: add RTS/CTS/CLK pin selection for the USARTs
Adds extra parameter to AT32 at32_map_usart(), so as to reserve RTS/CTS/CLK pins. All boards under arch/avr32/boards have been updated (trivial change), but not all have been tested. Signed-off-by: Peter Ma <pma@mediamatech.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/merisc')
-rw-r--r--arch/avr32/boards/merisc/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/avr32/boards/merisc/setup.c b/arch/avr32/boards/merisc/setup.c
index 58acdb4fc9b..20b300cf105 100644
--- a/arch/avr32/boards/merisc/setup.c
+++ b/arch/avr32/boards/merisc/setup.c
@@ -231,9 +231,9 @@ static void detect_merisc_board_id(void)
void __init setup_board(void)
{
- at32_map_usart(0, 0);
- at32_map_usart(1, 1);
- at32_map_usart(3, 3);
+ at32_map_usart(0, 0, 0);
+ at32_map_usart(1, 1, 0);
+ at32_map_usart(3, 3, 0);
at32_setup_serial_console(1);
}
@@ -248,7 +248,7 @@ static int __init merisc_init(void)
at32_reserve_pin(GPIO_PIOE_BASE, ATMEL_EBI_PE_DATA_ALL | (1 << 26));
if (merisc_board_id >= 1)
- at32_map_usart(2, 2);
+ at32_map_usart(2, 2, 0);
at32_add_device_usart(0);
at32_add_device_usart(1);