From: Wu Zhangjin Date: Thu, 2 Jul 2009 15:18:09 +0000 (+0800) Subject: MIPS: Loongson: Remove existing early_printk implementation X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=efc49ef556b135739386c64fd5c2ecd99b300446;p=openwrt%2Fstaging%2Fblogic.git MIPS: Loongson: Remove existing early_printk implementation Removes the existing implementation of early_printk for fulong. The old implementation was based on the outdated board-specific dbg_io.c. Since commit 8d60a903d986ffa26c41f0092320a3b9da20bfaf dbg_io.c is not longer needed; it will be removed by the next patch, and a new implementation of early_printk will be added later. Signed-off-by: Wu Zhangjin Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/lemote/lm2e/prom.c b/arch/mips/lemote/lm2e/prom.c index 7edc15dfed6c..d78cedf28c1f 100644 --- a/arch/mips/lemote/lm2e/prom.c +++ b/arch/mips/lemote/lm2e/prom.c @@ -21,7 +21,6 @@ extern unsigned long bus_clock; extern unsigned long cpu_clock_freq; extern unsigned int memsize, highmemsize; -extern int putDebugChar(unsigned char byte); static int argc; /* pmon passes arguments in 32bit pointers */ @@ -90,8 +89,3 @@ do { \ void __init prom_free_prom_memory(void) { } - -void prom_putchar(char c) -{ - putDebugChar(c); -}