diff options
Diffstat (limited to 'arch/mips/boot/compressed/uart-alchemy.c')
-rw-r--r-- | arch/mips/boot/compressed/uart-alchemy.c | 5 |
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 @@ | |||
2 | 2 | ||
3 | void putc(char c) | 3 | void putc(char c) |
4 | { | 4 | { |
5 | /* all current (Jan. 2010) in-kernel boards */ | 5 | #ifdef CONFIG_MIPS_DB1300 |
6 | alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c); | ||
7 | #else | ||
6 | alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); | 8 | alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); |
9 | #endif | ||
7 | } | 10 | } |