All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO
@ 2019-11-03 23:03 Adam Ford
  2019-11-03 23:03 ` [U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL" Adam Ford
  2019-11-08 15:35 ` [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Adam Ford @ 2019-11-03 23:03 UTC (permalink / raw)
  To: u-boot

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.

Signed-off-by: Adam Ford <aford173@gmail.com>

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 976330f897..76f74326ae 100644
--- a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi
+++ b/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi
@@ -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;
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL"
  2019-11-03 23:03 [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO Adam Ford
@ 2019-11-03 23:03 ` Adam Ford
  2019-11-08 15:35   ` Tom Rini
  2019-11-08 15:35 ` [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Adam Ford @ 2019-11-03 23:03 UTC (permalink / raw)
  To: u-boot

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.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig
index 78fcbaaca2..3c9acd7e41 100644
--- a/configs/omap35_logic_defconfig
+++ b/configs/omap35_logic_defconfig
@@ -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
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
index 81b57a8f7a..51547e7149 100644
--- a/configs/omap3_logic_defconfig
+++ b/configs/omap3_logic_defconfig
@@ -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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO
  2019-11-03 23:03 [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO Adam Ford
  2019-11-03 23:03 ` [U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL" Adam Ford
@ 2019-11-08 15:35 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-11-08 15:35 UTC (permalink / raw)
  To: u-boot

On Sun, Nov 03, 2019 at 05:03:01PM -0600, Adam Ford wrote:

> 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.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> 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 976330f897..76f74326ae 100644

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL"
  2019-11-03 23:03 ` [U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL" Adam Ford
@ 2019-11-08 15:35   ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-11-08 15:35 UTC (permalink / raw)
  To: u-boot

On Sun, Nov 03, 2019 at 05:03:02PM -0600, Adam Ford wrote:

> 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.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig
> index 78fcbaaca2..3c9acd7e41 100644

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-08 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-03 23:03 [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO Adam Ford
2019-11-03 23:03 ` [U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL" Adam Ford
2019-11-08 15:35   ` Tom Rini
2019-11-08 15:35 ` [U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO 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.