serial: xuartps: Add some register initialisation to cdns_early_console_setup()
authorScott Telford <stelford@cadence.com>
Thu, 22 Sep 2016 15:58:16 +0000 (16:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:54:41 +0000 (12:54 +0200)
commitc41251b17563234371a9b376ed4914efa4bc079b
tree7fa3e64e794043e6184232621af6a7272b46bacc
parent212d249b6acbe00ac3617938433ce785c2d68e88
serial: xuartps: Add some register initialisation to cdns_early_console_setup()

Add initialisation of control register and baud rate to
cdns_early_console_setup(), required when running kernel standalone
without a boot loader. Baud rate is only initialised when specified in
earlycon command-line option, otherwise it is assumed this has been
set by a boot loader. Updated Documentation/kernel-parameters.txt
accordingly.

Signed-off-by: Scott Telford <stelford@cadence.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/kernel-parameters.txt
drivers/tty/serial/xilinx_uartps.c