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)
commit87515772c33ee8a0cc08d984a7d2401eeff074cd
treebde94a76edccf59cfe72e3858337a211ec098257
parent99492c39f39fc2d8c4ae36ecfb88d7de5d8106b5
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: c7cef0a84912cab3c9df8 ("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