linux-mips
[Top] [All Lists]

[PATCH 1/3] [loongson] eary_printk: Remove existing implementation

To: linux-mips@linux-mips.org
Subject: [PATCH 1/3] [loongson] eary_printk: Remove existing implementation
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Sat, 5 Sep 2009 14:21:33 +0800
Cc: ralf@linux-mips.org, Jason Wessel <jason.wessel@windriver.com>, Zhang Le <r0bertz@gentoo.org>, Arnaud Patard <apatard@mandriva.com>, Atsushi Nemoto <anemo@mba.ocn.ne.jp>, Wu Zhangjin <wuzj@lemote.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=8+9KmVDvJ2rAQPBA4FihJPrCl/XrQKisFG4GgmwVtBQ=; b=sm3XkjjBcgSjndic93NxpohN3+UPzNPSreivNL1JkFk3DumE2CDl+RFTdmGVIkRzMz QR64bNTdZP4Dn9qI3ay4UyAavuWY14yeitSkc1JsclPD6NHQjwu8eYzVESfL4B2GofIO TzifJ/W5FKfiBZ+UF1yknWx2xMbmCOdb2rxqM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=SfFsu/P4kbqex5+0e07NrkZSaTqfKFttjBKuCGhObFs1DECLqlCHgkULFED0ip1/gM wEi7hSJ2ytzQwFlhne+LCyB6g+26zBJr8fwelzsV1pq6oydlQRJmVlILMMsptAflWd5+ 32WnsqKoHihueeY5ff5yUAefkIWwZohh1ZZdw=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzj@lemote.com>

This patch will remove the existing implementation of early_printk in
fulong. for this old implementation is based on the board-specific
source code(dbg_io.c), but dbg_io.c is out-of-date:

as the commit: 8d60a903d986ffa26c41f0092320a3b9da20bfaf shows, dbg_io.c
is not needed. it will be removed in the next patch, and the new
implementation of early_printk will be added later.

Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
---
 arch/mips/lemote/lm2e/prom.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/mips/lemote/lm2e/prom.c b/arch/mips/lemote/lm2e/prom.c
index 7edc15d..d78cedf 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);
-}
-- 
1.6.2.1


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 1/3] [loongson] eary_printk: Remove existing implementation, Wu Zhangjin <=