aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorTom Rini2023-10-26 14:31:28 -0400
committerTom Rini2023-11-07 14:49:09 -0500
commitdbdb4b3374ed96be9b5df123b7009030e0ff37df (patch)
tree878c55d840aa2ce3e8037988200ff78c5243e057 /boot
parent558787fd58321772f11591e58d4f3a1a509037fd (diff)
boot: Make preboot and bootcmd require CMDLINE
In order for a predefined "preboot" or "bootcmd" to be executed by the running system we must have a command line. Add CMDLINE as a dependency. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 4ce8a985776..ef71883a502 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -1590,6 +1590,7 @@ config BOOTARGS_SUBST
config USE_BOOTCOMMAND
bool "Enable a default value for bootcmd"
+ depends on CMDLINE
help
Provide a default value for the bootcmd entry in the environment. If
autoboot is enabled this is what will be run automatically. Enable
@@ -1609,6 +1610,7 @@ config BOOTCOMMAND
config USE_PREBOOT
bool "Enable preboot"
+ depends on CMDLINE
help
When this option is enabled, the existence of the environment
variable "preboot" will be checked immediately before starting the