Skip to contentSkip to conversation

ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO

PATCH New Adam Ford 2 participants 4 messages Nov 3, 2019 – Nov 8, 2019 Arm (32-bit)

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/2 ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO

The only GPIO bank needed in SPL is GPIO4 and the SPL space is tight.

This patch removes the all but GPIO4 from the spl device tree to reduce the SPL footprint.

arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi +20 -0
index 976330f897..76f74326ae 100644
@@ -21,6 +21,26 @@
 	clock-frequency = <400000>;
 };
 
+&gpio1 {
+	/delete-property/ u-boot,dm-spl;
+};
+
+&gpio2 {
+	/delete-property/ u-boot,dm-spl;
+};
+
+&gpio3 {
+	/delete-property/ u-boot,dm-spl;
+};
+
+&gpio5 {
+	/delete-property/ u-boot,dm-spl;
+};
+
+&gpio6 {
+	/delete-property/ u-boot,dm-spl;
+};
+
 /delete-node/ &uart2;
 /delete-node/ &uart3;
 /delete-node/ &mmc2;
Signature · 1 line
2.20.1
author
#1 lore raw

PATCH 2/2 Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL"

The SPL is too tight, and it cannot start any longer. To help reduce the size of SPL, we need to remove some non-critical features.

This reverts commit 66063a7c1388fb724e8671b03c529fb5cda992dd.

configs/omap35_logic_defconfig +1 -0
index 78fcbaaca2..3c9acd7e41 100644
@@ -4,6 +4,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
+# CONFIG_SPL_GPIO_SUPPORT is not set
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_TARGET_OMAP3_LOGIC=y
 # CONFIG_SPL_OMAP3_ID_NAND is not set
configs/omap3_logic_defconfig +1 -0
index 81b57a8f7a..51547e7149 100644
@@ -4,6 +4,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x80100000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
+# CONFIG_SPL_GPIO_SUPPORT is not set
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_TARGET_OMAP3_LOGIC=y
 # CONFIG_SPL_OMAP3_ID_NAND is not set
Signature · 1 line
2.20.1
#3 lore raw

PATCH 1/2 ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO

In reply to Adam Ford

arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi

Quoted 9 lines · Adam Ford

The only GPIO bank needed in SPL is GPIO4 and the SPL space is tight.

This patch removes the all but GPIO4 from the spl device tree to reduce the SPL footprint.

arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi +0 -0
index 976330f897..76f74326ae 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191108/4201c543/attachment.sig>
#2 lore raw

PATCH 2/2 Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL"

In reply to Adam Ford

configs/omap35_logic_defconfig

Quoted 10 lines · Adam Ford

The SPL is too tight, and it cannot start any longer. To help reduce the size of SPL, we need to remove some non-critical features.

This reverts commit 66063a7c1388fb724e8671b03c529fb5cda992dd.

configs/omap35_logic_defconfig +0 -0
index 78fcbaaca2..3c9acd7e41 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191108/6d833ae6/attachment.sig>