Re: [PATCH 0/3] Earlycon command line option support

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

 



On Tue, Mar 12, 2019 at 10:43:37AM +0100, Lucas Stach wrote:
> Hi Andrey,
> 
> Am Dienstag, den 12.03.2019, 00:45 -0700 schrieb Andrey Smirnov:
> > Everyone:
> > 
> > This small series is something I came up with to avoid having to look
> > up the syntax and manually specify earlycon kernel command line option
> > every time I needed it. The series is purely optional in case I am not
> > the only one who thinks this is useful.
> > 
> > Feedback is welcome!
> > 
> > Thanks,
> > Andrey Smirnov
> > 
> > Andrey Smirnov (3):
> >   console: Add plumbing to expose earlycon/bootconsole parameter
> >   serial: i.MX: Add code to export "earlycon" setting
> >   serial: lpuart: Add code to export "earlycon" setting
> > 
> >  Documentation/user/variables.rst |  1 +
> >  common/console.c                 | 25 +++++++++++++++++++++++++
> >  drivers/serial/serial_imx.c      |  3 +++
> >  drivers/serial/serial_lpuart.c   |  1 +
> >  include/console.h                |  1 +
> >  5 files changed, 31 insertions(+)
> 
> I don't think any of this is necessary. For DT based platforms earlycon
> will use the console specified via the "stdout-path" property, so it's
> entirely sufficient to add "earlycon" to the kernel command line and
> the kernel will do the right thing. No need for any more elaborate
> kernel commandline options.

I'm with Lucas here unless some good arguments come up why this is
needed.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux