]> git.baikalelectronics.ru Git - kernel.git/commit
earlycon: 8250: Fix command line regression
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 6 Apr 2015 14:48:49 +0000 (10:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Apr 2015 12:39:54 +0000 (14:39 +0200)
commit859de609483bde05e7ea9fb6430215ed97e03d4c
treebde94a76edccf59cfe72e3858337a211ec098257
parent837a54403b879bde04db5793d633047432a4601a
earlycon: 8250: Fix command line regression

Restore undocumented behavior of kernel command line parameters of
the forms:
    console=uart[8250],io|mmio|mmio32,<addr>[,options]
    console=uart[8250],<addr>[,options]
where 'options' have not been specified; in this case, the hardware
is assumed to be initialized.

Fixes: 14ccdc1563ba11d68b7b2 ("console: Add extensible console matching")
Reported-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_early.c