aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJoe Hershberger2012-12-11 22:16:34 -0600
committerTom Rini2012-12-13 12:46:56 -0600
commit267541f776f1e2bec21681c6e39a4c93af9621cf (patch)
tree861ff411eab98193f9914d30ec420628e79912e0 /README
parentfffad71bc489cf224eda6d826a1645423852ee45 (diff)
downloadu-boot-267541f776f1e2bec21681c6e39a4c93af9621cf.tar.gz
u-boot-267541f776f1e2bec21681c6e39a4c93af9621cf.tar.xz
u-boot-267541f776f1e2bec21681c6e39a4c93af9621cf.zip
env: Add support for access control to .flags
Add support for read-only, write-once, and change-default. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 12 insertions, 1 deletions
diff --git a/README b/README
index 08c0fccb5e..b5c1c0377b 100644
--- a/README
+++ b/README
@@ -3128,7 +3128,8 @@ Configuration Settings:
3128 3128
3129 The format of the list is: 3129 The format of the list is:
3130 type_attribute = [s|d|x|b|i|m] 3130 type_attribute = [s|d|x|b|i|m]
3131 attributes = type_attribute 3131 access_atribute = [a|r|o|c]
3132 attributes = type_attribute[access_atribute]
3132 entry = variable_name[:attributes] 3133 entry = variable_name[:attributes]
3133 list = entry[,list] 3134 list = entry[,list]
3134 3135
@@ -3140,6 +3141,12 @@ Configuration Settings:
3140 i - IP address 3141 i - IP address
3141 m - MAC address 3142 m - MAC address
3142 3143
3144 The access attributes are:
3145 a - Any (default)
3146 r - Read-only
3147 o - Write-once
3148 c - Change-default
3149
3143 - CONFIG_ENV_FLAGS_LIST_DEFAULT 3150 - CONFIG_ENV_FLAGS_LIST_DEFAULT
3144 Define this to a list (string) to define the ".flags" 3151 Define this to a list (string) to define the ".flags"
3145 envirnoment variable in the default or embedded environment. 3152 envirnoment variable in the default or embedded environment.
@@ -3151,6 +3158,10 @@ Configuration Settings:
3151 list, simply add an entry for the same variable name to the 3158 list, simply add an entry for the same variable name to the
3152 ".flags" variable. 3159 ".flags" variable.
3153 3160
3161- CONFIG_ENV_ACCESS_IGNORE_FORCE
3162 If defined, don't allow the -f switch to env set override variable
3163 access flags.
3164
3154The following definitions that deal with the placement and management 3165The following definitions that deal with the placement and management
3155of environment data (variable area); in general, we support the 3166of environment data (variable area); in general, we support the
3156following configurations: 3167following configurations: