Skip to contentSkip to conversation

serial: 8250_early: Add earlycon support for Tegra

PATCH New Jon Hunter 1 participant 1 message Feb 8, 2016

Subsystems (2)
lore
Share & tools
lore

Jon Hunter

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/tty/serial/8250/8250_early.c | 1 +
 1 file changed, 1 insertion(+)
drivers/tty/serial/8250/8250_early.c +1 -0
index 3b3dbdc1b73e..8d08ff5c4e34 100644
@@ -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
 
Signature · 1 line
2.1.4