MIPS: Alchemy: Rewrite UART setup and constants.
Detect CPU type at runtime and setup uarts accordingly; also clean up the uart base address mess in the process as far as possible. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> To: Linux-MIPS <linux-mips@linux-mips.org> Cc: Florian Fainelli <florian@openwrt.org> Cc: Wolfgang Grandegger <wg@grandegger.com> Patchwork: https://patchwork.linux-mips.org/patch/2352/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org
This commit is contained in:
committed by
Ralf Baechle
parent
adcb86279f
commit
80130204b4
@ -3,5 +3,5 @@
|
||||
void putc(char c)
|
||||
{
|
||||
/* all current (Jan. 2010) in-kernel boards */
|
||||
alchemy_uart_putchar(UART0_PHYS_ADDR, c);
|
||||
alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
|
||||
}
|
||||
|
Reference in New Issue
Block a user