[Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

Mark Salter msalter at redhat.com
Tue Sep 8 10:53:27 PDT 2015


On Tue, 2015-09-08 at 18:17 +0100, Leif Lindholm wrote:
> > >      */
> > > -   if (!buf || !buf[0])
> > > -           if (IS_ENABLED(CONFIG_OF_FLATTREE))
> > > +   if (!buf || !buf[0]) {
> > > +           if (!acpi_disabled)
> > 
> > How do we know for sure that "acpi" has been parsed before "earlycon"?
> 
> Because "arch" comes before "drivers" in kernel image link order.
> *twitch*
> Yes, not the best argument ever.
> 

I don't think that matters. Things are parsed in order they are
found on cmdline (except for early vs late distinction).




More information about the linux-arm-kernel mailing list