Loading...
1// SPDX-License-Identifier: GPL-2.0
2#include <asm/mach-au1x00/au1000.h>
3
4void putc(char c)
5{
6 alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
7}
1#include <asm/mach-au1x00/au1000.h>
2
3void 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}