diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2012-09-13 11:44:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-10-11 05:11:20 -0400 |
commit | bd8510df881f63a9e7768824cf0e33c4702dcde1 (patch) | |
tree | 00264a638b54403bc3693637c848f1bdee144c05 /arch/mips/alchemy/devboards/platform.c | |
parent | 748e787eb6de610c4427594923ef8ca1f5431b74 (diff) |
MIPS: Alchemy: Single kernel for DB1200/1300/1550
Combine support for the DB1200/PB1200, DB1300 and DB1550 boards into
a single kernel image.
defconfig-generated image verified on DB1200, DB1300 and DB1550.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4335/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 f39042e99d0..8df86eb9497 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 | ||