summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-12-12 04:16:34 (GMT)
committerTom Rini <trini@ti.com>2012-12-13 18:46:56 (GMT)
commit267541f776f1e2bec21681c6e39a4c93af9621cf (patch)
tree861ff411eab98193f9914d30ec420628e79912e0 /include/environment.h
parentfffad71bc489cf224eda6d826a1645423852ee45 (diff)
downloadu-boot-fsl-qoriq-267541f776f1e2bec21681c6e39a4c93af9621cf.tar.xz
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index 00e59ba..e64b43d 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);