Skip to contentSkip to conversation

arm64: dts: specify console via command line

PATCH Superseded Chunyan Zhang 1 participant 1 message Mar 5, 2020

Subsystems (2)
lore
Share & tools
lore

Chunyan Zhang

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: specify console via command line

From: Chunyan Zhang <[email protected]>

The SPRD serial driver need to know which 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]/

---
 arch/arm64/boot/dts/sprd/sp9863a-1h10.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/sprd/sp9863a-1h10.dts +1 -1
index 2047f7a74265..510f65f4d8b8 100644
@@ -28,7 +28,7 @@
 
 	chosen {
 		stdout-path = "serial1:115200n8";
-		bootargs = "earlycon";
+		bootargs = "earlycon console=ttyS1";
 	};
 };
 
Signature · 1 line
2.20.1