mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
558787fd58
commit
dbdb4b3374
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue