[PATCH] lmb: boot: Update dependencies within BOOT_DEFAULTS_CMDS

Tom Rini trini at konsulko.com
Mon Mar 23 20:52:47 CET 2026


The CMD_BOOT[IZ] symbols have a dependency on LMB, correctly,
currently. Make sure that in BOOT_DEFAULTS_CMDS we only select these
commands if LMB is enabled.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 boot/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boot/Kconfig b/boot/Kconfig
index f37e7a0c380b..75fd64f02054 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -434,8 +434,8 @@ config BOOT_DEFAULTS_CMDS
 	select CMD_DHCP if CMD_NET && !NO_NET
 	select CMD_PING if CMD_NET && !NO_NET
 	select CMD_PXE if CMD_NET && !NO_NET
-	select CMD_BOOTI if ARM64
-	select CMD_BOOTZ if ARM && !ARM64
+	select CMD_BOOTI if ARM64 && LMB
+	select CMD_BOOTZ if ARM && !ARM64 && LMB
 	imply CMD_MII if CMD_NET && !NO_NET
 
 config BOOT_DEFAULTS
-- 
2.43.0



More information about the U-Boot mailing list