summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@unisoc.com>2020-03-11 14:21:20 +0300
committerArnd Bergmann <arnd@arndb.de>2020-03-25 23:40:54 +0300
commit2cedfe1247c087a82ea3d12af8546f6de60c1f36 (patch)
tree52ca0235fa1fdada642ce42132e0a6890428c31f
parent8f79ec4639e7d2a150fedf98398f217ea849e4c1 (diff)
downloadlinux-2cedfe1247c087a82ea3d12af8546f6de60c1f36.tar.xz
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.com Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm64/boot/dts/sprd/sp9863a-1h10.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
index 5c32c1596337..dc1a6201002a 100644
--- a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
+++ b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
@@ -26,7 +26,7 @@
chosen {
stdout-path = "serial1:115200n8";
- bootargs = "earlycon";
+ bootargs = "earlycon console=ttyS1";
};
};