boot: Make BOOTM_LINUX depend on BOOT

It is possible to boot Linux without the command line. Adjust the
condition for CONFIG_BOOTM_LINUX to depend on CONFIG_BOOT instead of the
various boot commands.
This commit is contained in:
Simon Glass
2025-05-31 11:34:59 +01:00
parent 7e44fbf685
commit de032ef9c6

View File

@@ -369,7 +369,7 @@ config CMD_BOOTI
config BOOTM_LINUX
bool "Support booting Linux OS images"
depends on CMD_BOOTM || CMD_BOOTZ || CMD_BOOTI
depends on BOOT
default y
help
Support booting the Linux kernel directly via a command such as bootm