[PATCH] cmd: Correct dependencies for CMD_BOOTD

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


The CMD_BOOTD functionality can only work with CMD_BOOTM enabled, so
express this dependency in Kconfig.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 24dc7fa54273..7712cb9f3afe 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -292,6 +292,7 @@ menu "Boot commands"
 
 config CMD_BOOTD
 	bool "bootd"
+	depends on CMD_BOOTM
 	default y
 	help
 	  Run the command stored in the environment "bootcmd", i.e.
-- 
2.43.0



More information about the U-Boot mailing list