summaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:47:02 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commitc62f62b0fccca951bdc91f3ab85f495fdcc0efb2 (patch)
treeecfa7ad899aa6fa605da07332d2796eb1ee730ea /include/env.h
parentb5f449e8e947cf94055d0300a8625cd6bc9c37f5 (diff)
downloadu-boot-c62f62b0fccca951bdc91f3ab85f495fdcc0efb2.tar.gz
env: Move env_reloc() to env.h
Move env_reloc() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h
index 42d8bcfa50..727f58528f 100644
--- a/include/env.h
+++ b/include/env.h
@@ -278,4 +278,11 @@ void env_set_default(const char *s, int flags);
*/
int env_get_char(int index);
+/**
+ * env_reloc() - Relocate the 'env' sub-commands
+ *
+ * This is used for those unfortunate archs with crappy toolchains
+ */
+void env_reloc(void);
+
#endif