]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
lmb: Correct dependency around CMD_BOOT[IMZ]
authorTom Rini <trini@konsulko.com>
Fri, 20 Mar 2026 20:53:40 +0000 (14:53 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 3 Apr 2026 19:42:49 +0000 (13:42 -0600)
The calls around lmb functions for these commands are not specific to
SYS_BOOT_RAMDISK_HIGH but rather part of the general loading portion of
the command itself currently. Move this dependency to the right spot.

Signed-off-by: Tom Rini <trini@konsulko.com>
boot/Kconfig
cmd/Kconfig

index a56b7aa2f378e7c1eb51fee5e3abc95e80d00185..2fe3f4fe4d1e3b7494e7b2e0b78aac8725cd5a61 100644 (file)
@@ -1164,7 +1164,6 @@ config SYS_BOOT_RAMDISK_HIGH
        depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ
        depends on !(NIOS2 || SANDBOX || SH || XTENSA)
        def_bool y
-       select LMB
        help
          Enable initrd_high functionality.  If defined then the initrd_high
          feature is enabled and the boot* ramdisk subcommand is enabled.
index 64e342caad16c59db4c4d57c5aff996600ee7857..c52d2078320ed9b99a7ccfc55746337713ad984c 100644 (file)
@@ -298,6 +298,7 @@ config CMD_BOOTD
 
 config CMD_BOOTM
        bool "bootm"
+       depends on LMB
        default y
        select LIB_BOOTM
        help
@@ -376,6 +377,7 @@ config BOOTM_ELF
 
 config CMD_BOOTZ
        bool "bootz"
+       depends on LMB
        select LIB_BOOTZ
        select LIB_BOOTM
        help
@@ -384,6 +386,7 @@ config CMD_BOOTZ
 config CMD_BOOTI
        bool "booti"
        depends on ARM64 || RISCV || SANDBOX
+       depends on LMB
        default y
        select LIB_BOOTI
        select LIB_BOOTM