[PATCH v3 5/5] Image size checks: Simplify SPL_SIZE_LIMIT logic

Philip Oberfichtner pro at denx.de
Wed Sep 3 12:56:53 CEST 2025


Simplify the depends-on logic for SPL_SIZE_LIMIT. No functional change.

Signed-off-by: Philip Oberfichtner <pro at denx.de>
---
 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Kconfig b/Kconfig
index aa00669ba20..343299eed50 100644
--- a/Kconfig
+++ b/Kconfig
@@ -588,8 +588,8 @@ config HAS_SPL_SIZE_LIMIT
 config SPL_SIZE_LIMIT
 	hex "Maximum size of SPL image in bytes"
 	depends on HAS_SPL_SIZE_LIMIT
-	default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB
 	default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB
+	default 0x11000 if ARCH_MX6
 	default 0x30000 if ARCH_MVEBU && ARMADA_32BIT
 	help
 	  Maximum size of the SPL image. When defined, the build system checks
-- 
2.39.5



More information about the U-Boot mailing list