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 Sat, 6 Feb 2010 13:16:22 +0100
Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> wrote:

> 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 ?

Yes, I have.

> It looks like it
> was invented for some sort of early console on 8250 devices...

The early printk is registered at the early boot stage(in setup_arch()).

Yoichi


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

  Powered by Linux