Adapt help texts for CONFIG_XXX_SIZE_LIMITs to their new logic.

Signed-off-by: Philip Oberfichtner <[email protected]>
---

Notes:
    Changes in v5: Polish help texts

 Kconfig                | 10 +++++-----
 common/spl/Kconfig     |  6 +++---
 common/spl/Kconfig.tpl |  6 +++---
 common/spl/Kconfig.vpl |  6 +++---
 4 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/Kconfig b/Kconfig
index 1d600342685..10c3e49de0e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -537,7 +537,7 @@ config BUILD_TARGET
          make / buildman.
 
 config HAS_BOARD_SIZE_LIMIT
-       bool "Define a maximum size for the U-Boot image"
+       bool "Enable size limit check for the U-Boot image"
        depends on !COMPILE_TEST
        default y if RCAR_32 || RCAR_64
        help
@@ -550,10 +550,10 @@ config BOARD_SIZE_LIMIT
        default 1048576 if RCAR_64
        depends on HAS_BOARD_SIZE_LIMIT
        help
-         Maximum size of the U-Boot image. When defined, the build system
-         checks that the actual size does not exceed it.  This does not
-         include SPL nor TPL, on platforms that use that functionality, they
-         have separate options to restrict size.
+         Maximum size of the U-Boot image. The build system checks that the
+         actual image size does not exceed this value. This does not include
+         SPL nor TPL, on platforms that use that functionality, they have
+         separate options to restrict size.
 
 config SYS_CUSTOM_LDSCRIPT
        bool "Use a custom location for the U-Boot linker script"
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 97c7bfdad47..0cabc4e8019 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -49,7 +49,7 @@ config HAS_SPL_SIZE_LIMIT
        default y if TARGET_SOCFPGA_GEN5
 
 config SPL_SIZE_LIMIT
-       hex "Maximum size of SPL image"
+       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
@@ -57,8 +57,8 @@ config SPL_SIZE_LIMIT
        default 0x30000 if SOC_MT7621
        default 0x10000 if TARGET_SOCFPGA_GEN5
        help
-         Specifies the maximum length of the U-Boot SPL image.
-         If this value is zero, it is ignored.
+         Maximum size of the SPL image. The build system checks that the
+         actual image size does not exceed this value.
 
 config SPL_SIZE_LIMIT_SUBTRACT_GD
        bool "SPL image size check: provide space for global data"
diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl
index 82ed0a06c89..87aaf1132e6 100644
--- a/common/spl/Kconfig.tpl
+++ b/common/spl/Kconfig.tpl
@@ -8,12 +8,12 @@ config HAS_TPL_SIZE_LIMIT
        default y if INTEL_APOLLOLAKE
 
 config TPL_SIZE_LIMIT
-       hex "Maximum size of TPL image"
+       hex "Maximum size of TPL image in bytes"
        depends on HAS_TPL_SIZE_LIMIT
        default 0x7800 if INTEL_APOLLOLAKE
        help
-         Specifies the maximum length of the U-Boot TPL image.
-         If this value is zero, it is ignored.
+         Maximum size of the TPL image. The build system checks that the
+         actual image size does not exceed this value.
 
 config TPL_BINMAN_SYMBOLS
        bool "Support binman symbols in TPL"
diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl
index 1945fa22b6b..67ecd78a225 100644
--- a/common/spl/Kconfig.vpl
+++ b/common/spl/Kconfig.vpl
@@ -226,11 +226,11 @@ config HAS_VPL_SIZE_LIMIT
        depends on VPL
 
 config VPL_SIZE_LIMIT
-       hex "Maximum size of VPL image"
+       hex "Maximum size of VPL image in bytes"
        depends on HAS_VPL_SIZE_LIMIT
        help
-         Specifies the maximum length of the U-Boot VPL image.
-         If this value is zero, it is ignored.
+         Maximum size of the VPL image. The build system checks that the
+         actual image size does not exceed this value.
 
 config VPL_SPI
        bool "Support SPI drivers"
-- 
2.39.5

Reply via email to