From: Vineet Gupta Date: Tue, 24 Jun 2014 08:25:14 +0000 (+0530) Subject: serial/arc: Enable DT based earlycon X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c6abf7a9e5d0f4a27140cf13220a28e0f5c829c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Rob Herring Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 3b5285373658..3a504fb9c9e8 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 */