[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86802c440705211036r19be100pa2d2ed13780f6316@mail.gmail.com>
Date: Mon, 21 May 2007 10:36:58 -0700
From: "Yinghai Lu" <yhlu.kernel@...il.com>
To: "Bjorn Helgaas" <bjorn.helgaas@...com>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
"Gerd Hoffmann" <kraxel@...hat.com>, "Andi Kleen" <ak@...e.de>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"linux kernel mailing list" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall
On 5/21/07, Bjorn Helgaas <bjorn.helgaas@...com> wrote:
> > earlycon=uart,io,0x3f8,9600n8
> > earlycon=uart,io,0x3f8,9600n8 console=tty0
> > earlycon=uart,mmio,0xff5e0000,115200n8
>
> Why do we have to have a new "earlycon" argument? Why can't we just
> parse "console=uart" early?
with console=uart, you need to call early_serial_console_init
explictly in your arch setup_arch to get early console.
with console_initcall(early_uart_console_init), the early_uart_console
will be called via console_init in start_kernel, init/main.c that is
not real early console.
YH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists