From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH] lmb: Correct dependency around CMD_BOOT[IMZ]
Date: Fri, 20 Mar 2026 14:53:40 -0600 [thread overview]
Message-ID: <20260320205340.3788962-1-trini@konsulko.com> (raw)
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 | 1 -
cmd/Kconfig | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/boot/Kconfig b/boot/Kconfig
index a56b7aa2f378..2fe3f4fe4d1e 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -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.
diff --git a/cmd/Kconfig b/cmd/Kconfig
index f459f6b029c2..4077cdce1069 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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
--
2.43.0
next reply other threads:[~2026-03-20 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-20 20:53 Tom Rini [this message]
2026-04-03 19:47 ` [PATCH] lmb: Correct dependency around CMD_BOOT[IMZ] Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260320205340.3788962-1-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox