env: Convert ENV_ACCESS_IGNORE_FORCE to Kconfig

Convert ENV_ACCESS_IGNORE_FORCE to Kconfig, no functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
This commit is contained in:
Marek Vasut 2020-05-22 01:10:14 +02:00 committed by Tom Rini
parent 2aca8804d8
commit 3ec46991d7
3 changed files with 7 additions and 5 deletions

4
README
View File

@ -2729,10 +2729,6 @@ Configuration Settings:
regular expression. This allows multiple variables to define the same regular expression. This allows multiple variables to define the same
flags without explicitly listing them for each variable. flags without explicitly listing them for each variable.
- CONFIG_ENV_ACCESS_IGNORE_FORCE
If defined, don't allow the -f switch to env set override variable
access flags.
The following definitions that deal with the placement and management The following definitions that deal with the placement and management
of environment data (variable area); in general, we support the of environment data (variable area); in general, we support the
following configurations: following configurations:

7
env/Kconfig vendored
View File

@ -604,6 +604,13 @@ config DELAY_ENVIRONMENT
later by U-Boot code. With CONFIG_OF_CONTROL this is instead later by U-Boot code. With CONFIG_OF_CONTROL this is instead
controlled by the value of /config/load-environment. controlled by the value of /config/load-environment.
config ENV_ACCESS_IGNORE_FORCE
bool "Block forced environment operations"
default n
help
If defined, don't allow the -f switch to env set override variable
access flags.
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"

View File

@ -415,7 +415,6 @@ CONFIG_ENABLE_36BIT_PHYS
CONFIG_ENABLE_MMU CONFIG_ENABLE_MMU
CONFIG_ENABLE_MUST_CHECK CONFIG_ENABLE_MUST_CHECK
CONFIG_ENABLE_WARN_DEPRECATED CONFIG_ENABLE_WARN_DEPRECATED
CONFIG_ENV_ACCESS_IGNORE_FORCE
CONFIG_ENV_ADDR_FLEX CONFIG_ENV_ADDR_FLEX
CONFIG_ENV_CALLBACK_LIST_DEFAULT CONFIG_ENV_CALLBACK_LIST_DEFAULT
CONFIG_ENV_CALLBACK_LIST_STATIC CONFIG_ENV_CALLBACK_LIST_STATIC