* [PATCH] arm64: dts: specify console via command line
@ 2020-03-05 9:06 Chunyan Zhang
0 siblings, 0 replies; only message in thread
From: Chunyan Zhang @ 2020-03-05 9:06 UTC (permalink / raw)
To: Rob Herring, Mark Rutland
Cc: Arnd Bergmann, devicetree, linux-kernel, Orson Zhai, Baolin Wang,
Chunyan Zhang, Chunyan Zhang
From: Chunyan Zhang <chunyan.zhang@unisoc.com>
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/20190826072929.7696-4-zhang.lyra@gmail.com/
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
---
arch/arm64/boot/dts/sprd/sp9863a-1h10.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
index 2047f7a74265..510f65f4d8b8 100644
--- a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
+++ b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
@@ -28,7 +28,7 @@
chosen {
stdout-path = "serial1:115200n8";
- bootargs = "earlycon";
+ bootargs = "earlycon console=ttyS1";
};
};
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-05 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 9:06 [PATCH] arm64: dts: specify console via command line Chunyan Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®