summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-07-07 14:12:07 -0400
committerTom Rini <[email protected]>2022-07-07 14:29:37 -0400
commitea92f95d630cba9c3a324d250258ad2e35d9c997 (patch)
tree68ad93bb452ccf3873a9b457a8cca9ea7e3c1916 /cmd
parentcb9843bda3e500eb4add1927be4ed72077a69774 (diff)
parentc45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (diff)
Merge branch '2022-07-07-Kconfig-migrations-dead-code-removal' into next
- Migrate more CONFIG options to Kconfig and remove some unused code while we're at it.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index bb956e33075..d5f842136cf 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -335,6 +335,16 @@ config BOOTM_VXWORKS
help
Support booting VxWorks images via the bootm command.
+config SYS_BOOTM_LEN
+ hex "Maximum size of a decompresed OS image"
+ depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ
+ 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 passing a compressed image to bootm/booti/bootz.
+
config CMD_BOOTEFI
bool "bootefi"
depends on EFI_LOADER