summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2014-06-24 08:25:14 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 22:45:30 (GMT)
commit8c6abf7a9e5d0f4a27140cf13220a28e0f5c829c (patch)
treeb1e98b2521acf65b7a8b2cdb5cf68d18a81eff81
parent1b9bff759b03f79173035236ea6f5ff44d9aa866 (diff)
downloadlinux-8c6abf7a9e5d0f4a27140cf13220a28e0f5c829c.tar.xz
serial/arc: Enable DT based earlycon
This allows a param less earlycon to pick up the earlyconsole from chosen/stdout-path Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/arc_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c
index 3b52853..3a504fb 100644
--- a/drivers/tty/serial/arc_uart.c
+++ b/drivers/tty/serial/arc_uart.c
@@ -571,6 +571,7 @@ static int __init arc_early_console_setup(struct earlycon_device *dev,
return 0;
}
EARLYCON_DECLARE(arc_uart, arc_early_console_setup);
+OF_EARLYCON_DECLARE(arc_uart, "snps,arc-uart", arc_early_console_setup);
#endif /* CONFIG_SERIAL_ARC_CONSOLE */