• R
    tty/serial: fix 8250 early console option passing to regular console · 60efcf04
    Rob Herring 提交于
    In the conversion to generic early console, the passing of options from
    the early 8250 console to the regular ttyS console was broken. This
    resulted in the baud rate changing when switching consoles during boot.
    
    This feature allows specifying a single console option on the kernel
    command line rather than both an early console and regular serial tty
    console. It would be nice to generalize this feature. However, it only
    works if the correct baud rate can be probed early which is not the
    case on many platforms which have non-standard UART clock rates. So for
    now, this is left as an 8250 specific feature.
    Reported-and-tested-by: NTony Luck <tony.luck@intel.com>
    Signed-off-by: NRob Herring <robh@kernel.org>
    Cc: Jiri Slaby <jslaby@suse.cz>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    60efcf04
8250_early.c 5.1 KB