From c8836dbb01f2f891c407b3f9e2d3238267c0452e Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 28 May 2022 12:07:26 -0400 Subject: [PATCH] Drop CONFIG_SPL_SIZE We do not reference CONFIG_SPL_SIZE in the code, remove it. Signed-off-by: Tom Rini --- 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 c2aef08..4aaeba3 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 914d7ec..571fdb3 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 0b814f5..523a4ea 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 fe75666..acc09da 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 90a631c..c8aa564 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 4bbc992..c4671f1 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 e66d8af..d8fc3c1 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.7.4