ARM: dts: aspeed: Set earlycon boot argument
authorJoel Stanley <joel@jms.id.au>
Wed, 26 May 2021 05:12:20 +0000 (14:42 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 3 Jun 2021 05:47:02 +0000 (15:17 +0930)
Most of the aspeed boards have copied the 'earlyprink' string in
the bootargs. However, there's no earlyprink driver configured in the
defconfigs, so this does nothing.

A combination of setting stdout in the chosen node and adding earlycon
to bootargs causes early serial output to appear early. This changes all
boards to use this option.

The console=ttyS4,115200 option is still required, as this is used by
the run time uart driver.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Alexander Filippov <a.filippov@yadro.com>
Link: https://lore.kernel.org/r/20210526051220.136432-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
29 files changed:
arch/arm/boot/dts/aspeed-ast2500-evb.dts
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts
arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts
arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts
arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts
arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
arch/arm/boot/dts/aspeed-bmc-inspur-on5263m5.dts
arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts
arch/arm/boot/dts/aspeed-bmc-lenovo-hr630.dts
arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts
arch/arm/boot/dts/aspeed-bmc-microsoft-olympus.dts
arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts
arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts
arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts
arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts
arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
arch/arm/boot/dts/aspeed-bmc-supermicro-x11spi.dts

index 8bec21e..583a241 100644 (file)
@@ -13,7 +13,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
+               bootargs = "console=tty0 console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 6aeb47c..79d1784 100644 (file)
@@ -34,7 +34,7 @@
        };
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
        leds {
                compatible = "gpio-leds";
index 8f5ec22..bbf8d54 100644 (file)
@@ -9,7 +9,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index c2ece0b..3395de9 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 2c29ac0..7c6af7f 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index dcab6e7..33e413c 100644 (file)
@@ -15,7 +15,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
+               bootargs = "console=tty0 console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 5ef88c3..01dace8 100644 (file)
@@ -55,7 +55,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 2fb8b14..90a3f48 100644 (file)
 
        chosen {
                stdout-path = &uart1;
-               bootargs = "console=ttyS1,9600n8 root=/dev/ram rw earlyprintk";
+               bootargs = "console=ttyS1,9600n8 root=/dev/ram rw earlycon";
        };
 
        ast-adc-hwmon {
index 7b4b2b1..b6b1635 100644 (file)
@@ -37,7 +37,7 @@
        };
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 0759389..1752f32 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 80c92e0..5a98a19 100644 (file)
@@ -11,7 +11,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "earlyprintk";
+               bootargs = "earlycon";
        };
 
        memory {
index 6e9baf3..d5b7d28 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "earlyprintk";
+               bootargs = "earlycon";
        };
 
        memory@80000000 {
index c29e5f4..8f543cc 100644 (file)
@@ -27,7 +27,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
+               bootargs = "console=tty0 console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 084c455..bcc1820 100644 (file)
@@ -27,7 +27,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
+               bootargs = "console=tty0 console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 7331991..3ef8358 100644 (file)
@@ -11,7 +11,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@40000000 {
index 42b37a2..c084763 100644 (file)
@@ -11,7 +11,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 15c1f0a..a52a289 100644 (file)
@@ -57,7 +57,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 8503152..7d38d12 100644 (file)
@@ -11,7 +11,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 91dced7..3d4bdad 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index eb4e93a..cd660c1 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@40000000 {
index fd2e014..084f548 100644 (file)
@@ -9,7 +9,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index d56b5ed..4816486 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index c1478d2..e863ec0 100644 (file)
@@ -13,7 +13,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200n8";
+               bootargs = "console=ttyS4,115200n8 earlycon";
        };
 
        memory@80000000 {
index 01074b6..328ef47 100644 (file)
@@ -11,7 +11,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@40000000 {
index 85d58a6..230f358 100644 (file)
@@ -10,7 +10,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 4bcc820..7ae4ea0 100644 (file)
@@ -17,7 +17,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index 03c1614..61bc74b 100644 (file)
@@ -14,7 +14,7 @@
        };
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@80000000 {
index a68ff06..9605e53 100644 (file)
@@ -28,7 +28,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "console=ttyS4,115200 earlyprintk";
+               bootargs = "console=ttyS4,115200 earlycon";
        };
 
        memory@40000000 {
index bc16ad2..50f3c6a 100644 (file)
@@ -11,7 +11,7 @@
 
        chosen {
                stdout-path = &uart5;
-               bootargs = "earlyprintk";
+               bootargs = "earlycon";
        };
 
        memory@80000000 {