For coherency, use the same help text for all related size checks
options. Furthermore, simplify the depends-on logic.

Signed-off-by: Philip Oberfichtner <p...@denx.de>
---

Notes:
    Changes in v2: new

 Kconfig | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Kconfig b/Kconfig
index ec20603883b..490a706101a 100644
--- a/Kconfig
+++ b/Kconfig
@@ -543,10 +543,8 @@ config BOARD_SIZE_LIMIT
        default 1048576 if RCAR_64
        default 0
        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.
+         Specifies the maximum length of the U-Boot image.
+         If this value is zero, it is ignored.
 
 config UBOOT_WITH_SPL_SIZE_LIMIT
        hex "Maximum size of u-boot-with-spl.bin"
@@ -558,8 +556,8 @@ config UBOOT_WITH_SPL_SIZE_LIMIT
 config SPL_SIZE_LIMIT
        depends on SPL
        hex "Maximum size of SPL image"
-       default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB
        default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB
+       default 0x11000 if ARCH_MX6
        default 0x30000 if ARCH_MVEBU && ARMADA_32BIT
        default 0x0
        help
-- 
2.39.5

Reply via email to