ARM: dts: logicpd som-lvs and torpedos: Shrink SPL DTB
authorAdam Ford <aford173@gmail.com>
Wed, 12 Jun 2019 20:26:26 +0000 (15:26 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 13 Jul 2019 15:11:31 +0000 (11:11 -0400)
Since we have limited resources in SPL, it is the best interest
to keep the SPL as small as possible and that includes the DTB.
There are a few items in the device tree that can be removed,
because these boards don't use them.

Signed-off-by: Adam Ford <aford173@gmail.com>
arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi
arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi
arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi
arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi

index 956199a2b42b516adb0b9ebf1e51d341fea162c2..1abd9a38870333f4f3665785bf68aae0b785cee6 100644 (file)
        chosen {
                stdout-path = &uart1;
        };
+
+       aliases {
+               /delete-property/ serial1;
+               /delete-property/ serial2;
+       };
 };
 
 &i2c1 {
        clock-frequency = <400000>;
 };
 
-&mmc2 {
-      status = "disabled";
-};
-
-&mmc3 {
-      status = "disabled";
-};
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
 
index 956199a2b42b516adb0b9ebf1e51d341fea162c2..1abd9a38870333f4f3665785bf68aae0b785cee6 100644 (file)
        chosen {
                stdout-path = &uart1;
        };
+
+       aliases {
+               /delete-property/ serial1;
+               /delete-property/ serial2;
+       };
 };
 
 &i2c1 {
        clock-frequency = <400000>;
 };
 
-&mmc2 {
-      status = "disabled";
-};
-
-&mmc3 {
-      status = "disabled";
-};
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
 
index 2c599f1c51bc23dfb82341a8668fb3302fea2f72..1635e42b55a0b7742981e19ec935bdbc99bbcaf3 100644 (file)
@@ -6,6 +6,13 @@
 
 #include "omap3-u-boot.dtsi"
 
+/ {
+       aliases {
+               /delete-property/ serial1;
+               /delete-property/ serial2;
+       };
+};
+
 &i2c1 {
        clock-frequency = <400000>;
 };
        clock-frequency = <400000>;
 };
 
-&mmc2 {
-      status = "disabled";
-};
-
-&mmc3 {
-      status = "disabled";
-};
-
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
index 2c599f1c51bc23dfb82341a8668fb3302fea2f72..976330f89716a740c82474a8dfed0159434bc440 100644 (file)
@@ -6,6 +6,13 @@
 
 #include "omap3-u-boot.dtsi"
 
+/ {
+       aliases {
+               /delete-property/ serial1;
+               /delete-property/ serial2;
+       };
+};
+
 &i2c1 {
        clock-frequency = <400000>;
 };
        clock-frequency = <400000>;
 };
 
-&mmc2 {
-      status = "disabled";
-};
-
-&mmc3 {
-      status = "disabled";
-};
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;