From c4b8bc48b69abe799496f2f62aa46f482572f5e0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 27 May 2022 15:18:06 -0400 Subject: [PATCH] Remove CONFIG_SYS_SPL_LEN largely 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 --- 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 864a793..698da6b 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 c6a84a7..331e9ca 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 ac046b8..a2c0048 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 30b2f5d..e36718d 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 8667052..cde6abc 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 ac54c50..80db425 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 2f5a4fd..b9285e8 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.7.4