diff options
Diffstat (limited to 'arch/mips/alchemy/devboards/platform.c')
-rw-r--r-- | arch/mips/alchemy/devboards/platform.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/alchemy/devboards/platform.c b/arch/mips/alchemy/devboards/platform.c index f39042e99d0d..8df86eb94972 100644 --- a/arch/mips/alchemy/devboards/platform.c +++ b/arch/mips/alchemy/devboards/platform.c | |||
@@ -36,11 +36,10 @@ void __init prom_init(void) | |||
36 | 36 | ||
37 | void prom_putchar(unsigned char c) | 37 | void prom_putchar(unsigned char c) |
38 | { | 38 | { |
39 | #ifdef CONFIG_MIPS_DB1300 | 39 | if (alchemy_get_cputype() == ALCHEMY_CPU_AU1300) |
40 | alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c); | 40 | alchemy_uart_putchar(AU1300_UART2_PHYS_ADDR, c); |
41 | #else | 41 | else |
42 | alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); | 42 | alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c); |
43 | #endif | ||
44 | } | 43 | } |
45 | 44 | ||
46 | 45 | ||