Skip to contentSkip to conversation

lmb: boot: Update dependencies within BOOT_DEFAULTS_CMDS

PATCH In review Tom Rini 1 participant 2 messages Mar 23 – Apr 7

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 lmb: boot: Update dependencies within BOOT_DEFAULTS_CMDS

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.

---
 boot/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
boot/Kconfig +2 -2
index f37e7a0c380b..75fd64f02054 100644
@@ -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
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 5 lines · Tom Rini

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.

Applied to u-boot/master, thanks!

[1/1] lmb: boot: Update dependencies within BOOT_DEFAULTS_CMDS

      commit: a6594e82bb93bc14d97ca16440f6387fa3e0c111
Signature · 1 line
Tom