From aae7e8da806e1536fdee0632a40aaaeed97a2f1b Mon Sep 17 00:00:00 2001 From: Manuel Lauss Date: Wed, 13 Jan 2010 18:46:58 +0100 Subject: MIPS: Alchemy: debug output for compressed kernels Hook up the compressed debug output for all Alchemy systems supported by current kernel codebase. Signed-off-by: Manuel Lauss To: Linux-MIPS Cc: Wu Zhangjin Patchwork: http://patchwork.linux-mips.org/patch/879/ Signed-off-by: Ralf Baechle --- arch/mips/boot/compressed/uart-alchemy.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/mips/boot/compressed/uart-alchemy.c (limited to 'arch/mips/boot/compressed/uart-alchemy.c') diff --git a/arch/mips/boot/compressed/uart-alchemy.c b/arch/mips/boot/compressed/uart-alchemy.c new file mode 100644 index 000000000000..1bff22fa089b --- /dev/null +++ b/arch/mips/boot/compressed/uart-alchemy.c @@ -0,0 +1,7 @@ +#include + +void putc(char c) +{ + /* all current (Jan. 2010) in-kernel boards */ + alchemy_uart_putchar(UART0_PHYS_ADDR, c); +} -- cgit v1.2.2