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 <[email protected]>
Signed-off-by: Ahmad Fatoum <[email protected]>
---
 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@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@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@0} {
        reg = <0x0 0x0>;
 };
-- 
2.28.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to