commit | 64cd04d0cffa3b3af0e81aa3112b71f135739e1a | [log] [tgz] |
---|---|---|
author | Manuel Lauss <manuel.lauss@googlemail.com> | Thu Nov 10 12:03:26 2011 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Dec 07 22:02:06 2011 +0000 |
tree | 7c66ce3a94ae3cc638a88fd2e55a86bcaf760880 | |
parent | 809f36c6f4a0568178c909ff1096ca83eae33f7d [diff] [blame] |
MIPS: Alchemy: Basic support for the DB1300 board. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2867/ Patchwork: https://patchwork.linux-mips.org/patch/2919/ Patchwork: https://patchwork.linux-mips.org/patch/2928/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/boot/compressed/uart-alchemy.c b/arch/mips/boot/compressed/uart-alchemy.c index eb063e6..3112df8 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 }