[AVR32] fix serial port setup on ATSTK1000
authorDavid Brownell <david-b@pacbell.net>
Wed, 24 Jan 2007 04:14:02 +0000 (20:14 -0800)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 9 Feb 2007 14:01:57 +0000 (15:01 +0100)
commita3d912c8fa709c4078ceaabf4d71001190e19325
tree58a492ce454a6412bb63710decc56f741981ede7
parent914ab06279f15d3f368f4fae74db58fdcf03a2ed
[AVR32] fix serial port setup on ATSTK1000

Fixes to USART setup on the stk-1000 ... don't configure USART 2, since
its TXD/RXD are used for INT-A and INT-B buttons; and configure USART 0
(for IRDA, and with corrected IRQ) iff SW2 has a non-default setting.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/boards/atstk1000/atstk1002.c
arch/avr32/mach-at32ap/at32ap7000.c