M7350/kernel/arch/mips/boot/compressed/uart-alchemy.c

11 lines
198 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
#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
}