summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2016-02-08 16:27:35 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-15 01:39:36 (GMT)
commit0ab556c26690452fd66d8c95513fee201ceafbc0 (patch)
tree317615dcd0f693d29c0f672472442b63c8705ec6 /drivers/tty
parent9db669f14fd8297c42c5d3ea06720e992845f48a (diff)
downloadlinux-0ab556c26690452fd66d8c95513fee201ceafbc0.tar.xz
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/8250_early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
index 3b3dbdc..8d08ff5 100644
--- a/drivers/tty/serial/8250/8250_early.c
+++ b/drivers/tty/serial/8250/8250_early.c
@@ -149,6 +149,7 @@ EARLYCON_DECLARE(uart8250, early_serial8250_setup);
EARLYCON_DECLARE(uart, early_serial8250_setup);
OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
+OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
#ifdef CONFIG_SERIAL_8250_OMAP