1 #include <asm/mach-au1x00/au1000.h> 2 3 void putc(char c) 4 { 5 #ifdef CONFIG_MIPS_DB1300 6 alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c); 7 #else 8 alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); 9 #endif 10 } 11
1 #include <asm/mach-au1x00/au1000.h> 2 3 void putc(char c) 4 { 5 #ifdef CONFIG_MIPS_DB1300 6 alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c); 7 #else 8 alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); 9 #endif 10 } 11