diff options
| author | Joe Hershberger <joe.hershberger@ni.com> | 2012-12-11 22:16:34 -0600 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2012-12-13 11:46:56 -0700 | 
| commit | 267541f776f1e2bec21681c6e39a4c93af9621cf (patch) | |
| tree | 861ff411eab98193f9914d30ec420628e79912e0 /include/environment.h | |
| parent | fffad71bc489cf224eda6d826a1645423852ee45 (diff) | |
| download | olio-uboot-2014.01-267541f776f1e2bec21681c6e39a4c93af9621cf.tar.xz olio-uboot-2014.01-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 'include/environment.h')
| -rw-r--r-- | include/environment.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/environment.h b/include/environment.h index 00e59ba78..e64b43d2d 100644 --- a/include/environment.h +++ b/include/environment.h @@ -181,6 +181,9 @@ unsigned char env_get_char_memory(int index);  /* Function that updates CRC of the enironment */  void env_crc_update(void); +/* Look up the variable from the default environment */ +char *getenv_default(const char *name); +  /* [re]set to the default environment */  void set_default_env(const char *s); |