arm: lpc32xx: Improve early serial initialization
authorKevin Wells <wellsk40@gmail.com>
Fri, 18 Feb 2011 23:05:51 +0000 (15:05 -0800)
committerKevin Wells <wellsk40@gmail.com>
Fri, 18 Feb 2011 23:05:51 +0000 (15:05 -0800)
commit0a78db231cc6f81f308375984500594f8d145a56
treefac78c2c35c5e1505b9f88b894fc1aa6c0782ae9
parent94e3831e6e5e65695cfee21c0c092887062d0356
arm: lpc32xx: Improve early serial initialization

For the standard serial ports, run the FIFO clear to work around the HW
bug even if the UARTs are not used. For the high speed UARTs, revise the
base clock speed to use PCLK, not the OSC clock. Some code reorganization
for size optimization.
arch/arm/mach-lpc32xx/serial.c