diff options
author | Joe Hershberger | 2012-12-11 22:16:34 -0600 |
---|---|---|
committer | Tom Rini | 2012-12-13 12:46:56 -0600 |
commit | 267541f776f1e2bec21681c6e39a4c93af9621cf (patch) | |
tree | 861ff411eab98193f9914d30ec420628e79912e0 /README | |
parent | fffad71bc489cf224eda6d826a1645423852ee45 (diff) | |
download | u-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-- | README | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 | |||
3154 | The following definitions that deal with the placement and management | 3165 | The following definitions that deal with the placement and management |
3155 | of environment data (variable area); in general, we support the | 3166 | of environment data (variable area); in general, we support the |
3156 | following configurations: | 3167 | following configurations: |