[U-Boot] [PATCH] spl: Correct SPL_SIZE_LIMIT Kconfig option

Tom Rini trini at konsulko.com
Sat Jun 8 00:41:00 UTC 2019


When introduced this limit was an int but was then changed to hex
without noting as much in the prompt nor changing existing users.  Put
this back to an int.

Reported-by: Fabio Estevam <festevam at gmail.com>
Fixes: 2577015dc5c4 ("spl: add overall SPL size check")
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 common/spl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 6a98536f2083..ac2f470032d8 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -26,7 +26,7 @@ config SPL_FRAMEWORK
 	  and the Linux Kernel.  If unsure, say Y.
 
 config SPL_SIZE_LIMIT
-	hex "Maximum size of SPL image"
+	int "Maximum size of SPL image"
 	depends on SPL
 	default 0
 	help
-- 
2.7.4



More information about the U-Boot mailing list