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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 05, 2010 at 11:28:57PM +0900, Yoichi Yuasa wrote:
> Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>
> ---
>  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 ]


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux