提交 91b735d1 编写于 作者: M Michal Simek 提交者: Tom Rini

common: Kconfig: Add dependency for default variables strings

Kconfig provides several config options for setting up default variables
but these are unused when variables are passed to U-Boot via file.
That's why cover this dependency in Kconfig.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 9250d0ba
...@@ -378,7 +378,7 @@ config USE_BOOTARGS ...@@ -378,7 +378,7 @@ config USE_BOOTARGS
config BOOTARGS config BOOTARGS
string "Boot arguments" string "Boot arguments"
depends on USE_BOOTARGS depends on USE_BOOTARGS && !USE_DEFAULT_ENV_FILE
help help
This can be used to pass arguments to the bootm command. The value of This can be used to pass arguments to the bootm command. The value of
CONFIG_BOOTARGS goes into the environment value "bootargs". Note that CONFIG_BOOTARGS goes into the environment value "bootargs". Note that
...@@ -395,7 +395,7 @@ config USE_BOOTCOMMAND ...@@ -395,7 +395,7 @@ config USE_BOOTCOMMAND
config BOOTCOMMAND config BOOTCOMMAND
string "bootcmd value" string "bootcmd value"
depends on USE_BOOTCOMMAND depends on USE_BOOTCOMMAND && !USE_DEFAULT_ENV_FILE
default "run distro_bootcmd" if DISTRO_DEFAULTS default "run distro_bootcmd" if DISTRO_DEFAULTS
help help
This is the string of commands that will be used as bootcmd and if This is the string of commands that will be used as bootcmd and if
...@@ -416,7 +416,7 @@ config USE_PREBOOT ...@@ -416,7 +416,7 @@ config USE_PREBOOT
config PREBOOT config PREBOOT
string "preboot default value" string "preboot default value"
depends on USE_PREBOOT depends on USE_PREBOOT && !USE_DEFAULT_ENV_FILE
default "" default ""
help help
This is the default of "preboot" environment variable. This is the default of "preboot" environment variable.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册