]> git.baikalelectronics.ru Git - kernel.git/commit
serial: altera_uart: add earlycon support
authorTobias Klauser <tklauser@distanz.ch>
Wed, 22 Mar 2017 12:50:13 +0000 (13:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Mar 2017 14:56:10 +0000 (16:56 +0200)
commitc4346722c3764e5d533e68dee71e899e8e1129f6
treee51c87225e31ee349087ecc0e65d3103463bb54f
parent6941479018abb3bbc8e89a80705cfc6d59fcb317
serial: altera_uart: add earlycon support

Nios2 currently uses its own early printk implementation, rather than
using unified earlycon support to show boot messages on altera_uart.

Add earlycon support to altera_uart so that other archs may use it.
Also, this (together with the corresponding patch for altera_jtaguart)
will allow the early printk implementation in arch/nios2 to be removed
in a future patch.

Cc: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/altera_uart.c