[U-Boot] [PATCH v3 02/10] Kconfig: add CONFIG_SYS_BOOTM_LEN

Ryan Harkin ryan.harkin at linaro.org
Thu Oct 1 19:43:28 CEST 2015


As config migrates from board config files to Kconfig, when adding
CONFIG_SYS_BOOTM_LEN to a platform, I decided to add
Kconfig support for CONFIG_SYS_BOOTM_LEN.

Signed-off-by: Ryan Harkin <ryan.harkin at linaro.org>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
CC: Masahiro Yamada <yamada.m at jp.panasonic.com>
CC: Simon Glass <sjg at chromium.org>
CC: Linus Walleij <linus.walleij at linaro.org>
---
 Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Kconfig b/Kconfig
index f364a7a..e86a60d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -190,6 +190,13 @@ config SYS_CLK_FREQ
 	help
 	  TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
 
+config CONFIG_SYS_BOOTM_LEN
+	hex "Max uImage length"
+	help
+	  Normally compressed uImages are limited to an uncompressed size of
+	  8 MBytes. If this is not enough, you can define CONFIG_SYS_BOOTM_LEN
+	  to adjust this setting to your needs.
+
 endmenu		# Boot images
 
 source "common/Kconfig"
-- 
2.1.0



More information about the U-Boot mailing list