* [U-Boot] [PATCH] ARM: dts: logicpd som-lvs and torpedos: Shrink SPL DTB
@ 2019-06-12 20:26 Adam Ford
2019-07-14 13:08 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2019-06-12 20:26 UTC (permalink / raw)
To: u-boot
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>
diff --git a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi
index 956199a2b4..1abd9a3887 100644
--- a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi
+++ b/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi
@@ -10,6 +10,11 @@
chosen {
stdout-path = &uart1;
};
+
+ aliases {
+ /delete-property/ serial1;
+ /delete-property/ serial2;
+ };
};
&i2c1 {
@@ -20,11 +25,8 @@
clock-frequency = <400000>;
};
-&mmc2 {
- status = "disabled";
-};
-
-&mmc3 {
- status = "disabled";
-};
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
diff --git a/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi
index 956199a2b4..1abd9a3887 100644
--- a/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi
+++ b/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi
@@ -10,6 +10,11 @@
chosen {
stdout-path = &uart1;
};
+
+ aliases {
+ /delete-property/ serial1;
+ /delete-property/ serial2;
+ };
};
&i2c1 {
@@ -20,11 +25,8 @@
clock-frequency = <400000>;
};
-&mmc2 {
- status = "disabled";
-};
-
-&mmc3 {
- status = "disabled";
-};
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
diff --git a/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi
index 2c599f1c51..1635e42b55 100644
--- a/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi
+++ b/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi
@@ -6,6 +6,13 @@
#include "omap3-u-boot.dtsi"
+/ {
+ aliases {
+ /delete-property/ serial1;
+ /delete-property/ serial2;
+ };
+};
+
&i2c1 {
clock-frequency = <400000>;
};
@@ -14,11 +21,7 @@
clock-frequency = <400000>;
};
-&mmc2 {
- status = "disabled";
-};
-
-&mmc3 {
- status = "disabled";
-};
-
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
diff --git a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi
index 2c599f1c51..976330f897 100644
--- a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi
+++ b/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi
@@ -6,6 +6,13 @@
#include "omap3-u-boot.dtsi"
+/ {
+ aliases {
+ /delete-property/ serial1;
+ /delete-property/ serial2;
+ };
+};
+
&i2c1 {
clock-frequency = <400000>;
};
@@ -14,11 +21,8 @@
clock-frequency = <400000>;
};
-&mmc2 {
- status = "disabled";
-};
-
-&mmc3 {
- status = "disabled";
-};
+/delete-node/ &uart2;
+/delete-node/ &uart3;
+/delete-node/ &mmc2;
+/delete-node/ &mmc3;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] ARM: dts: logicpd som-lvs and torpedos: Shrink SPL DTB
2019-06-12 20:26 [U-Boot] [PATCH] ARM: dts: logicpd som-lvs and torpedos: Shrink SPL DTB Adam Ford
@ 2019-07-14 13:08 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2019-07-14 13:08 UTC (permalink / raw)
To: u-boot
On Wed, Jun 12, 2019 at 03:26:26PM -0500, Adam Ford wrote:
> 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>
>
> diff --git a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi
> index 956199a2b4..1abd9a3887 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190714/60cdcaa5/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-14 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 20:26 [U-Boot] [PATCH] ARM: dts: logicpd som-lvs and torpedos: Shrink SPL DTB Adam Ford
2019-07-14 13:08 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.