summaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 18:46:44 +0300
committerTom Rini <trini@konsulko.com>2019-08-11 23:43:41 +0300
commit3f989e7b0e43402d0a50e19939e4f57374319734 (patch)
tree7e225bdfdeed2562cf00c8c9a5ee9e3757b41261 /include/env.h
parent4bfd1f5d626778dd17f9827e5c462cc2697e0e90 (diff)
downloadu-boot-3f989e7b0e43402d0a50e19939e4f57374319734.tar.xz
env: Move env_relocate() to env.h
Move env_relocate() over to the new header file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h
index 5d205ef02d..72980962bf 100644
--- a/include/env.h
+++ b/include/env.h
@@ -32,6 +32,14 @@ int env_get_id(void);
int env_init(void);
/**
+ * env_relocate() - Set up the post-relocation environment
+ *
+ * This loads the environment into RAM so that it can be modified. This is
+ * called after relocation, before the environment is used
+ */
+void env_relocate(void);
+
+/**
* env_get_f() - Look up the value of an environment variable (early)
*
* This function is called from env_get() if the environment has not been