Commit 239566b0 authored by Joel Stanley's avatar Joel Stanley
Browse files

ARM: dts: aspeed: Set earlycon boot argument



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: default avatarJoel Stanley <joel@jms.id.au>
Acked-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Acked-by: default avatarAlexander Filippov <a.filippov@yadro.com>
Link: https://lore.kernel.org/r/20210526051220.136432-1-joel@jms.id.au


Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent d318da52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ aliases {

	chosen {
		stdout-path = &uart5;
		bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
		bootargs = "console=tty0 console=ttyS4,115200 earlycon";
	};

	memory@80000000 {
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ aliases {
	};
	chosen {
		stdout-path = &uart5;
		bootargs = "console=ttyS4,115200 earlyprintk";
		bootargs = "console=ttyS4,115200 earlycon";
	};
	leds {
		compatible = "gpio-leds";
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ / {

	chosen {
		stdout-path = &uart5;
		bootargs = "console=ttyS4,115200 earlyprintk";
		bootargs = "console=ttyS4,115200 earlycon";
	};

	memory@80000000 {
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ / {

	chosen {
		stdout-path = &uart5;
		bootargs = "console=ttyS4,115200 earlyprintk";
		bootargs = "console=ttyS4,115200 earlycon";
	};

	memory@80000000 {
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ / {

	chosen {
		stdout-path = &uart5;
		bootargs = "console=ttyS4,115200 earlyprintk";
		bootargs = "console=ttyS4,115200 earlycon";
	};

	memory@80000000 {
Loading