mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Tom Rini
parent
0f44c27695
commit
0e4638468f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user