diff mbox

[v3,02/10] Kconfig: add CONFIG_SYS_BOOTM_LEN

Message ID 1443721416-725-3-git-send-email-ryan.harkin@linaro.org
State New
Headers show

Commit Message

Ryan Harkin Oct. 1, 2015, 5:43 p.m. UTC
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@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
CC: Masahiro Yamada <yamada.m@jp.panasonic.com>
CC: Simon Glass <sjg@chromium.org>
CC: Linus Walleij <linus.walleij@linaro.org>
---
 Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox

Patch

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"