diff mbox series

cmd: correct ELF-related commands dependencies

Message ID 20240715200110.34230-1-Maxim.Moskalets@kaspersky.com
State Accepted
Commit 0e4638468ff7e96efafd66692688b491a9f310ea
Delegated to: Tom Rini
Headers show
Series cmd: correct ELF-related commands dependencies | expand

Commit Message

Maxim Moskalets July 15, 2024, 8:01 p.m. UTC
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>
---
 cmd/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Tom Rini July 20, 2024, 5:10 p.m. UTC | #1
On Mon, 15 Jul 2024 23:01:10 +0300, Maxim Moskalets wrote:

> Enable BOOTM_ELF by default for all configs with LIB_ELF selected.
> Use OF_LIBFDT as dependency for CMD_ELF_FDT_SETUP.
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0cf0d8ad8ab..5d34282c196 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