summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/compressed/uart-alchemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/compressed/uart-alchemy.c')
-rw-r--r--arch/mips/boot/compressed/uart-alchemy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/boot/compressed/uart-alchemy.c b/arch/mips/boot/compressed/uart-alchemy.c
index eb063e6dead9..3112df8f90db 100644
--- a/arch/mips/boot/compressed/uart-alchemy.c
+++ b/arch/mips/boot/compressed/uart-alchemy.c
@@ -2,6 +2,9 @@
void putc(char c)
{
- /* all current (Jan. 2010) in-kernel boards */
+#ifdef CONFIG_MIPS_DB1300
+ alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c);
+#else
alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
+#endif
}