blob: 3112df8f90dbc9726166f13e93a82c441efc5a27 [file] [log] [blame]
Manuel Laussaae7e8d2010-01-13 18:46:58 +01001#include <asm/mach-au1x00/au1000.h>
2
3void putc(char c)
4{
Manuel Lauss64cd04d2011-11-10 12:03:26 +00005#ifdef CONFIG_MIPS_DB1300
6 alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c);
7#else
Manuel Lauss80130202011-05-08 10:42:17 +02008 alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
Manuel Lauss64cd04d2011-11-10 12:03:26 +00009#endif
Manuel Laussaae7e8d2010-01-13 18:46:58 +010010}