]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
boot: Update SYS_BOOTM_LEN to depend on BOOTM
authorSimon Glass <sjg@chromium.org>
Fri, 15 Dec 2023 04:19:03 +0000 (21:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 Apr 2024 23:04:25 +0000 (17:04 -0600)
Use the new CONFIG_BOOTM symbol to determine whether SYS_BOOT_LEN is
visible or not, since we want to support decompression when CMDLINE is
disabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Kconfig

index 9fa8789bc2b12253d3a77572089be1bac22f7ebf..d83047acbd0dca524e92a9fc5fd32b1e8cc65d61 100644 (file)
@@ -800,7 +800,7 @@ endif # MEASURED_BOOT
 
 config SYS_BOOTM_LEN
        hex "Maximum size of a decompresed OS image"
-       depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ || \
+       depends on BOOTM || CMD_BOOTI || CMD_BOOTZ || \
                LEGACY_IMAGE_FORMAT || SPL_LEGACY_IMAGE_FORMAT
        default 0x4000000 if PPC || ARM64
        default 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7