From ea538f4b6c1904f3cbd11e819b1e5abb2c0814ac Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 31 May 2025 11:27:12 +0100 Subject: [PATCH] boot: Make CMD_BOOTI and CMD_BOOTZ depend on BOOT These commands cannot operate unless CONFIG_BOOT is enabled, so add an explicit dependency. Signed-off-by: Simon Glass --- cmd/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 8eaa642927c..86f54498ab8 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -355,11 +355,13 @@ config BOOTM_ELF config CMD_BOOTZ bool "bootz" + depends on BOOT help Boot the Linux zImage config CMD_BOOTI bool "booti" + depends on BOOT depends on ARM64 || RISCV || SANDBOX default y help