aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/at32ap.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-10-04 10:02:10 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-04 13:25:06 -0400
commitc194588dba968510b5aa7a1818bd2c8b36a416f7 (patch)
tree4c9379f6482572340ab701c369e8b01eb2b43493 /arch/avr32/mach-at32ap/at32ap.c
parentacca9b83acfe89fbb7421d5412176dee2ad2959a (diff)
[PATCH] AVR32: Allow renumbering of serial devices
Allow the board to remap actual USART peripheral devices to serial devices by calling at32_map_usart(hw_id, serial_line). This ensures that even though ATSTK1002 uses USART1 as the first serial port, it will still have a ttyS0 device. This also adds a board-specific early setup hook and moves the at32_setup_serial_console() call there from the platform code. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/avr32/mach-at32ap/at32ap.c')
-rw-r--r--arch/avr32/mach-at32ap/at32ap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap.c b/arch/avr32/mach-at32ap/at32ap.c
index f7cedf5aabea..90f207e8e96d 100644
--- a/arch/avr32/mach-at32ap/at32ap.c
+++ b/arch/avr32/mach-at32ap/at32ap.c
@@ -48,9 +48,6 @@ void __init setup_platform(void)
48 at32_sm_init(); 48 at32_sm_init();
49 at32_clock_init(); 49 at32_clock_init();
50 at32_portmux_init(); 50 at32_portmux_init();
51
52 /* FIXME: This doesn't belong here */
53 at32_setup_serial_console(1);
54} 51}
55 52
56static int __init pdc_probe(struct platform_device *pdev) 53static int __init pdc_probe(struct platform_device *pdev)