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

From: Mark Salter
Date: Tue Sep 08 2015 - 13:53:42 EST


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).

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/