diff options
author | Tom Rini | 2023-10-26 14:31:25 -0400 |
---|---|---|
committer | Tom Rini | 2023-11-07 14:49:09 -0500 |
commit | 9d298c96afc64f76c54057d924cf4a2ea5fac5ea (patch) | |
tree | 0ba0f43ef764b8b9042e5f5b062bd7696f3688cb /boot | |
parent | 2180a454fc961f3eb7c88eeb95a6507ef6a0bedb (diff) |
boot: Move SYS_BOOTM_LEN to be by LEGACY_IMAGE_FORMAT
This particular option is required for booting all image types,
regardless of if we are starting an OS via command line or something
else. Move the question for SYS_BOOTM_LEN to be by the question for
LEGACY_IMAGE_FORMAT, as that's where our generic OS questions start.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 9ffcfb8ad81..93787232381 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -724,6 +724,17 @@ if MEASURED_BOOT event log memory region. endif # MEASURED_BOOT +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 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7 + default 0x800000 + help + This is the maximum size of the buffer that is used to decompress the OS + image in to if attempting to boot a compressed image. + config SUPPORT_RAW_INITRD bool "Enable raw initrd images" help |