aboutsummaryrefslogblamecommitdiffstats
path: root/arch/mips/boot/compressed/uart-alchemy.c
blob: 3112df8f90dbc9726166f13e93a82c441efc5a27 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                   


                                                        
                                                        
      
 
#include <asm/mach-au1x00/au1000.h>

void putc(char c)
{
#ifdef CONFIG_MIPS_DB1300
	alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c);
#else
	alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
#endif
}