[PATCH 08/20] Remove CONFIG_SYS_SPL_LEN largely

Tom Rini trini at konsulko.com
Sun May 29 18:55:09 CEST 2022


This is mostly unused.  In the case where it is currently used, it means
the same as CONFIG_SPL_PAD_TO, which is already set for the platform.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/corvus.h                        | 2 --
 include/configs/gardena-smart-gateway-at91sam.h | 2 --
 include/configs/imxrt1020-evk.h                 | 1 -
 include/configs/imxrt1050-evk.h                 | 1 -
 include/configs/smartweb.h                      | 2 --
 include/configs/stm32f746-disco.h               | 3 +--
 include/configs/taurus.h                        | 2 --
 7 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/include/configs/corvus.h b/include/configs/corvus.h
index 864a79346b7c..698da6b6dac8 100644
--- a/include/configs/corvus.h
+++ b/include/configs/corvus.h
@@ -71,6 +71,4 @@
 #define CONFIG_SYS_MCKR			0x1301
 #define CONFIG_SYS_MCKR_CSS		0x1302
 
-#define CONFIG_SYS_SPL_LEN		CONFIG_SPL_PAD_TO
-
 #endif
diff --git a/include/configs/gardena-smart-gateway-at91sam.h b/include/configs/gardena-smart-gateway-at91sam.h
index c6a84a79e67a..331e9ca8ba19 100644
--- a/include/configs/gardena-smart-gateway-at91sam.h
+++ b/include/configs/gardena-smart-gateway-at91sam.h
@@ -45,6 +45,4 @@
 #define	CONFIG_SYS_NAND_U_BOOT_START	CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_NAND_U_BOOT_DST	CONFIG_SYS_TEXT_BASE
 
-#define CONFIG_SYS_SPL_LEN		CONFIG_SPL_PAD_TO
-
 #endif
diff --git a/include/configs/imxrt1020-evk.h b/include/configs/imxrt1020-evk.h
index ac046b82aa9e..a2c004880a7e 100644
--- a/include/configs/imxrt1020-evk.h
+++ b/include/configs/imxrt1020-evk.h
@@ -22,7 +22,6 @@
  * Configuration of the external SDRAM memory
  */
 
-#define CONFIG_SYS_SPL_LEN		0x00008000
 #define CONFIG_SYS_UBOOT_START		0x800023FD
 
 #endif /* __IMXRT1020_EVK_H */
diff --git a/include/configs/imxrt1050-evk.h b/include/configs/imxrt1050-evk.h
index 30b2f5d1efee..e36718dc825b 100644
--- a/include/configs/imxrt1050-evk.h
+++ b/include/configs/imxrt1050-evk.h
@@ -29,7 +29,6 @@
  * Configuration of the external SDRAM memory
  */
 
-#define CONFIG_SYS_SPL_LEN		0x00008000
 #define CONFIG_SYS_UBOOT_START		0x800023FD
 
 #endif /* __IMXRT1050_EVK_H */
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 8667052d3577..cde6abc62611 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -133,6 +133,4 @@
 #define CONFIG_SYS_MCKR_CSS		(0x02 | CONFIG_SYS_MCKR)
 #define CONFIG_SYS_AT91_PLLB		0x10483f0e
 
-#define CONFIG_SYS_SPL_LEN		CONFIG_SPL_PAD_TO
-
 #endif /* __CONFIG_H */
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
index ac54c5021788..80db425bb7ce 100644
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -39,10 +39,9 @@
 			BOOTENV
 
 #define CONFIG_SYS_MONITOR_LEN		(512 * 1024)
-#define CONFIG_SYS_SPL_LEN		0x00008000
 #define CONFIG_SYS_UBOOT_START		0x080083FD
 #define CONFIG_SYS_UBOOT_BASE		(CONFIG_SYS_FLASH_BASE + \
-					 CONFIG_SYS_SPL_LEN)
+					 CONFIG_SPL_PAD_TO)
 
 /* DT blob (fdt) address */
 #define CONFIG_SYS_FDT_BASE		(CONFIG_SYS_FLASH_BASE + \
diff --git a/include/configs/taurus.h b/include/configs/taurus.h
index 2f5a4fd8f4d6..b9285e8cabad 100644
--- a/include/configs/taurus.h
+++ b/include/configs/taurus.h
@@ -162,6 +162,4 @@
 #define CONFIG_SYS_MCKR_CSS		(0x02 | CONFIG_SYS_MCKR)
 #define CONFIG_SYS_AT91_PLLB		0x10193F05
 
-#define CONFIG_SYS_SPL_LEN		CONFIG_SPL_PAD_TO
-
 #endif
-- 
2.25.1



More information about the U-Boot mailing list