80130204b4
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
7 lines
157 B
C
7 lines
157 B
C
#include <asm/mach-au1x00/au1000.h>
|
|
|
|
void putc(char c)
|
|
{
|
|
/* all current (Jan. 2010) in-kernel boards */
|
|
alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
|
|
}
|