linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] MIPS: add 8250/16550 serial early printk driver

To: Yoichi Yuasa <yuasa@linux-mips.org>
Subject: Re: [PATCH 1/2] MIPS: add 8250/16550 serial early printk driver
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: Sat, 6 Feb 2010 13:16:22 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20100205232857.eb65967f.yuasa@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20100205232857.eb65967f.yuasa@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Feb 05, 2010 at 11:28:57PM +0900, Yoichi Yuasa wrote:
> Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
> ---
>  arch/mips/Kconfig.debug              |    8 ++++
>  arch/mips/include/asm/setup.h        |    9 ++++
>  arch/mips/kernel/Makefile            |    1 +
>  arch/mips/kernel/early_printk_8250.c |   68 
> ++++++++++++++++++++++++++++++++++
>  4 files changed, 86 insertions(+), 0 deletions(-)
>  create mode 100644 arch/mips/kernel/early_printk_8250.c
> 
> diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
> index 32a010d..f5d739c 100644
> --- a/arch/mips/Kconfig.debug
> +++ b/arch/mips/Kconfig.debug
> @@ -20,6 +20,14 @@ config EARLY_PRINTK
>         doesn't cooperate with an X server. You should normally say N here,
>         unless you want to debug such a crash.
>  
> +config EARLY_PRINTK_8250
> [..]

have you looked at drivers/serial/8250_early.c ? It looks like it
was invented for some sort of early console on 8250 devices...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]

<Prev in Thread] Current Thread [Next in Thread>