]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: correct ELF-related commands dependencies
authorMaxim Moskalets <maximmosk4@gmail.com>
Mon, 15 Jul 2024 20:01:10 +0000 (23:01 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jul 2024 22:48:07 +0000 (16:48 -0600)
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

index 0cf0d8ad8abd0fa69314413226e115b623092f29..5d34282c19633a533027bab418bb8d1b4b8b9635 100644 (file)
@@ -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