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/[email protected]/

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Chunyan Zhang <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
This commit is contained in:
Chunyan Zhang authored and Arnd Bergmann committed 2020-03-25 21:40:54 +01:00
1 parent 8f79ec4639
commit 2cedfe1247
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@
chosen {
stdout-path = "serial1:115200n8";
bootargs = "earlycon";
bootargs = "earlycon console=ttyS1";
};
};