aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorMaxim Moskalets <maximmosk4@gmail.com>2024-07-15 23:01:10 +0300
committerTom Rini <trini@konsulko.com>2024-07-19 16:48:07 -0600
commit0e4638468ff7e96efafd66692688b491a9f310ea (patch)
treee4af55ed17c74fc8fe8c55181809c91f6c197018 /cmd/Kconfig
parent0f44c276957a8f11617917523115f0c0e89c41f6 (diff)
downloadu-boot-0e4638468ff7e96efafd66692688b491a9f310ea.zip
u-boot-0e4638468ff7e96efafd66692688b491a9f310ea.tar.gz
u-boot-0e4638468ff7e96efafd66692688b491a9f310ea.tar.bz2
cmd: correct ELF-related commands dependencies
Enable BOOTM_ELF by default for all configs with LIB_ELF selected. Use OF_LIBFDT as dependency for CMD_ELF_FDT_SETUP. Signed-off-by: Maxim Moskalets <maximmosk4@gmail.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0cf0d8a..5d34282 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -324,7 +324,7 @@ config BOOTM_EFI
config BOOTM_ELF
bool "Support booting ELF images"
depends on CMD_BOOTM && LIB_ELF
- default n
+ default y if LIB_ELF
help
Support booting ELF images via the bootm command.
@@ -500,8 +500,7 @@ config CMD_ELF
config CMD_ELF_FDT_SETUP
bool "Flattened Device Tree setup in bootelf cmd"
depends on CMD_ELF
- select LIB_LIBFDT
- select LMB
+ select OF_LIBFDT
help
Do FDT setup in bootelf command optionally by param -d, which
allows to bring additional system info (e.g. /memory node) to