[PATCH 16/20] Drop CONFIG_SPL_SIZE
Tom Rini
trini at konsulko.com
Sun May 29 18:55:17 CEST 2022
We do not reference CONFIG_SPL_SIZE in the code, remove it.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
include/configs/clearfog.h | 3 ---
include/configs/controlcenterdc.h | 3 ---
include/configs/db-88f6820-amc.h | 3 ---
include/configs/db-88f6820-gp.h | 3 ---
include/configs/helios4.h | 3 ---
include/configs/turris_omnia.h | 3 ---
include/configs/x530.h | 5 -----
7 files changed, 23 deletions(-)
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index c2aef08dbf98..4aaeba3602d8 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -42,9 +42,6 @@
/* SPL */
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (140 << 10)
-
#if defined(CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC) || defined(CONFIG_MVEBU_SPL_BOOT_DEVICE_SATA)
/* SPL related MMC defines */
#ifdef CONFIG_SPL_BUILD
diff --git a/include/configs/controlcenterdc.h b/include/configs/controlcenterdc.h
index 914d7ec83d89..571fdb3b07c7 100644
--- a/include/configs/controlcenterdc.h
+++ b/include/configs/controlcenterdc.h
@@ -34,9 +34,6 @@
#define SPL_BOOT_SDIO_MMC_CARD 2
#define CONFIG_SPL_BOOT_DEVICE SPL_BOOT_SPI_NOR_FLASH
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (160 << 10)
-
#if CONFIG_SPL_BOOT_DEVICE == SPL_BOOT_SDIO_MMC_CARD
/* SPL related MMC defines */
#ifdef CONFIG_SPL_BUILD
diff --git a/include/configs/db-88f6820-amc.h b/include/configs/db-88f6820-amc.h
index 0b814f5e969e..523a4ead0253 100644
--- a/include/configs/db-88f6820-amc.h
+++ b/include/configs/db-88f6820-amc.h
@@ -39,9 +39,6 @@
#define SPL_BOOT_SPI_NOR_FLASH 1
#define CONFIG_SPL_BOOT_DEVICE SPL_BOOT_SPI_NOR_FLASH
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (140 << 10)
-
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index fe75666d0540..acc09da89d38 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -39,9 +39,6 @@
#define SPL_BOOT_SDIO_MMC_CARD 2
#define CONFIG_SPL_BOOT_DEVICE SPL_BOOT_SPI_NOR_FLASH
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (140 << 10)
-
#if CONFIG_SPL_BOOT_DEVICE == SPL_BOOT_SDIO_MMC_CARD
/* SPL related MMC defines */
#ifdef CONFIG_SPL_BUILD
diff --git a/include/configs/helios4.h b/include/configs/helios4.h
index 90a631c3761a..c8aa564097b6 100644
--- a/include/configs/helios4.h
+++ b/include/configs/helios4.h
@@ -42,9 +42,6 @@
/* SPL */
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (140 << 10)
-
#if defined(CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC) || defined(CONFIG_MVEBU_SPL_BOOT_DEVICE_SATA)
/* SPL related MMC defines */
#ifdef CONFIG_SPL_BUILD
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 4bbc992c9f83..c4671f111602 100644
--- a/include/configs/turris_omnia.h
+++ b/include/configs/turris_omnia.h
@@ -26,9 +26,6 @@
"fdt_high=0x10000000\0" \
"initrd_high=0x10000000\0"
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (140 << 10)
-
#ifdef CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC
/* SPL related MMC defines */
# ifdef CONFIG_SPL_BUILD
diff --git a/include/configs/x530.h b/include/configs/x530.h
index e66d8af802a0..d8fc3c13d062 100644
--- a/include/configs/x530.h
+++ b/include/configs/x530.h
@@ -64,9 +64,4 @@
#define CONFIG_UBI_PART user
#define CONFIG_UBIFS_VOLUME user
-/* SPL */
-
-/* Defines for SPL */
-#define CONFIG_SPL_SIZE (140 << 10)
-
#endif /* _CONFIG_X530_H */
--
2.25.1
More information about the U-Boot
mailing list