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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-31 11:27:12 +01:00
parent 165311eaab
commit ea538f4b6c

View File

@@ -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