Commit 2cedfe12 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Arnd Bergmann

arm64: dts: specify console via command line

The SPRD serial driver need to know which serial port would be used as
console in an early period during initialization, otherwise console
init would fail since we added this feature[1].

So this patch add console to command line via devicetree.

[1] https://lore.kernel.org/lkml/20190826072929.7696-4-zhang.lyra@gmail.com/

Link: https://lore.kernel.org/r/20200311112120.30890-1-zhang.lyra@gmail.comSigned-off-by: default avatarChunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 8f79ec46
......@@ -26,7 +26,7 @@ memory@80000000 {
chosen {
stdout-path = "serial1:115200n8";
bootargs = "earlycon";
bootargs = "earlycon console=ttyS1";
};
};
......
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