Commit 8c6abf7a authored by Vineet Gupta's avatar Vineet Gupta Committed by Greg Kroah-Hartman

serial/arc: Enable DT based earlycon

This allows a param less earlycon to pick up the earlyconsole from
chosen/stdout-path
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b9bff75
...@@ -571,6 +571,7 @@ static int __init arc_early_console_setup(struct earlycon_device *dev, ...@@ -571,6 +571,7 @@ static int __init arc_early_console_setup(struct earlycon_device *dev,
return 0; return 0;
} }
EARLYCON_DECLARE(arc_uart, arc_early_console_setup); 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 */ #endif /* CONFIG_SERIAL_ARC_CONSOLE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment