mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
env: Convert CONFIG_DELAY_ENVIRONMENT to Kconfig
This converts ad-hoc CONFIG_DELAY_ENVIRONMENT to Kconfig. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
parent
585da32f4c
commit
b8879f2074
2 changed files with 12 additions and 1 deletions
12
env/Kconfig
vendored
12
env/Kconfig
vendored
|
@ -592,6 +592,18 @@ config ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||||
run-time determined information about the hardware to the
|
run-time determined information about the hardware to the
|
||||||
environment. These will be named board_name, board_rev.
|
environment. These will be named board_name, board_rev.
|
||||||
|
|
||||||
|
config DELAY_ENVIRONMENT
|
||||||
|
bool "Delay environment loading"
|
||||||
|
depends on !OF_CONTROL
|
||||||
|
help
|
||||||
|
Enable this to inhibit loading the environment during board
|
||||||
|
initialization. This can address the security risk of untrusted data
|
||||||
|
being used during boot. Normally the environment is loaded when the
|
||||||
|
board is initialised so that it is available to U-Boot. This inhibits
|
||||||
|
that so that the environment is not available until explicitly loaded
|
||||||
|
later by U-Boot code. With CONFIG_OF_CONTROL this is instead
|
||||||
|
controlled by the value of /config/load-environment.
|
||||||
|
|
||||||
if SPL_ENV_SUPPORT
|
if SPL_ENV_SUPPORT
|
||||||
config SPL_ENV_IS_NOWHERE
|
config SPL_ENV_IS_NOWHERE
|
||||||
bool "SPL Environment is not stored"
|
bool "SPL Environment is not stored"
|
||||||
|
|
|
@ -303,7 +303,6 @@ CONFIG_DEFAULT
|
||||||
CONFIG_DEFAULT_CONSOLE
|
CONFIG_DEFAULT_CONSOLE
|
||||||
CONFIG_DEFAULT_IMMR
|
CONFIG_DEFAULT_IMMR
|
||||||
CONFIG_DEF_HWCONFIG
|
CONFIG_DEF_HWCONFIG
|
||||||
CONFIG_DELAY_ENVIRONMENT
|
|
||||||
CONFIG_DESIGNWARE_ETH
|
CONFIG_DESIGNWARE_ETH
|
||||||
CONFIG_DEVELOP
|
CONFIG_DEVELOP
|
||||||
CONFIG_DEVICE_TREE_LIST
|
CONFIG_DEVICE_TREE_LIST
|
||||||
|
|
Loading…
Reference in a new issue