[PATCH v3 3/5] Image size checks: Use consistent help texts
Philip Oberfichtner
pro at denx.de
Wed Sep 3 12:56:51 CEST 2025
The multiple XXX_SIZE_LIMIT options use slightly varying help texts.
Their similarities and differences should become more clear if we use
consistent help texts.
Signed-off-by: Philip Oberfichtner <pro at denx.de>
---
Kconfig | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Kconfig b/Kconfig
index e73dd91a408..aa00669ba20 100644
--- a/Kconfig
+++ b/Kconfig
@@ -538,7 +538,7 @@ config BUILD_TARGET
menu "Image size limits"
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
@@ -562,11 +562,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. When defined, the build system checks
+ that the actual size does not exceed it.
config HAS_TPL_SIZE_LIMIT
bool "Enable size limit check for the TPL image"
@@ -574,11 +574,11 @@ config HAS_TPL_SIZE_LIMIT
depends on TPL
config TPL_SIZE_LIMIT
- hex "Maximum size of TPL image"
+ hex "Maximum size of TPL image in bytes"
depends on HAS_TPL_SIZE_LIMIT
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. When defined, the build system checks
+ that the actual size does not exceed it.
config HAS_SPL_SIZE_LIMIT
bool "Enable size limit check for the SPL image"
@@ -586,14 +586,14 @@ config HAS_SPL_SIZE_LIMIT
depends on SPL
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
default 0x30000 if ARCH_MVEBU && ARMADA_32BIT
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. When defined, the build system checks
+ that the actual size does not exceed it.
config SPL_SIZE_LIMIT_SUBTRACT_GD
bool "SPL image size check: provide space for global data"
--
2.39.5
More information about the U-Boot
mailing list