riscv: Set SYS_BOOTM_LEN default to 0x4000000
authorMartin Herren <sputnik@on-the-web.ch>
Sat, 19 Jul 2025 21:46:33 +0000 (23:46 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 14 Aug 2025 06:32:00 +0000 (14:32 +0800)
This changes the default value to the most commonly used one among
existing defconfigs.

Signed-off-by: Martin Herren <sputnik@on-the-web.ch>
Acked-by: Michal Simek <michal.simek@amd.com> # xilinx_mbv
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
boot/Kconfig

index 2ff6f00..54ef705 100644 (file)
@@ -1057,7 +1057,7 @@ config SYS_BOOTM_LEN
        hex "Maximum size of a decompresed OS image"
        depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ || \
                LEGACY_IMAGE_FORMAT || SPL_LEGACY_IMAGE_FORMAT
-       default 0x4000000 if PPC || ARM64
+       default 0x4000000 if PPC || ARM64 || RISCV
        default 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7
        default 0x800000
        help