avr: Clean up serial port register aliases
Define unique register aliases for all of the hardware serial port definitions. This makes it easier to deal with the AVR chips that use different register names. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -110,6 +110,10 @@ config SERIAL_BAUD_U2X
|
||||
depends on AVR_SERIAL && !SIMULAVR
|
||||
bool
|
||||
default y
|
||||
config SERIAL_PORT
|
||||
int
|
||||
default 1 if MACH_at90usb1286 || MACH_at90usb646
|
||||
default 0
|
||||
|
||||
config SIMULAVR
|
||||
depends on MACH_atmega168 || MACH_atmega328 || MACH_atmega644p || MACH_atmega1284p
|
||||
|
||||
Reference in New Issue
Block a user