[PATCH 02/11] ARM: dts: rpi: drop unnecessary /chosen/stdout-path overrides

Ahmad Fatoum ahmad at a3f.at
Sat Nov 28 16:39:25 EST 2020


The upstream device trees reference the stdout-path via alias.
barebox overrides them with a path to the node, but the effect is
the same as both barebox and the kernel accept both for the property's
value.

No functional change:

	serial0	serial1	upstream stdout-path
 Rpi1	&uart0	&uart1 	serial0
 Rpi2	&uart0	&uart1 	serial0
 Rpi3	&uart0	&uart1 	serial1

Tested on a Raspberry Pi 3B.

Cc: Lucas Stach <l.stach at pengutronix.de>
Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 arch/arm/dts/bcm2835-rpi.dts   | 6 ------
 arch/arm/dts/bcm2836-rpi-2.dts | 6 ------
 arch/arm/dts/bcm2837-rpi-3.dts | 6 ------
 3 files changed, 18 deletions(-)

diff --git a/arch/arm/dts/bcm2835-rpi.dts b/arch/arm/dts/bcm2835-rpi.dts
index cc5a8a927112..121edebdb3a0 100644
--- a/arch/arm/dts/bcm2835-rpi.dts
+++ b/arch/arm/dts/bcm2835-rpi.dts
@@ -1,11 +1,5 @@
 #include <arm/bcm2835-rpi-a.dts>
 
-/ {
-	chosen {
-		stdout-path = &uart0;
-	};
-};
-
 &{/memory at 0} {
 	reg = <0x0 0x0>;
 };
diff --git a/arch/arm/dts/bcm2836-rpi-2.dts b/arch/arm/dts/bcm2836-rpi-2.dts
index c9c3892d6a21..c9106515ee1f 100644
--- a/arch/arm/dts/bcm2836-rpi-2.dts
+++ b/arch/arm/dts/bcm2836-rpi-2.dts
@@ -1,11 +1,5 @@
 #include <arm/bcm2836-rpi-2-b.dts>
 
-/ {
-	chosen {
-		stdout-path = &uart0;
-	};
-};
-
 &{/memory at 0} {
 	reg = <0x0 0x0>;
 };
diff --git a/arch/arm/dts/bcm2837-rpi-3.dts b/arch/arm/dts/bcm2837-rpi-3.dts
index d66beddb2281..e82d518fa551 100644
--- a/arch/arm/dts/bcm2837-rpi-3.dts
+++ b/arch/arm/dts/bcm2837-rpi-3.dts
@@ -1,11 +1,5 @@
 #include <arm64/broadcom/bcm2837-rpi-3-b.dts>
 
-/ {
-	chosen {
-		stdout-path = &uart1;
-	};
-};
-
 &{/memory at 0} {
 	reg = <0x0 0x0>;
 };
-- 
2.28.0




More information about the barebox mailing list