Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: 8250_early: Add earlycon support for Tegra

Declare an OF early console for Tegra so that the early console device
can be specified via the "stdout-path" property in device-tree.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jon Hunter and committed by
Greg Kroah-Hartman
0ab556c2 9db669f1

+1
+1
drivers/tty/serial/8250/8250_early.c
··· 149 149 EARLYCON_DECLARE(uart, early_serial8250_setup); 150 150 OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup); 151 151 OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup); 152 + OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup); 152 153 153 154 #ifdef CONFIG_SERIAL_8250_OMAP 154 155