summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:52 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit7b51b576d6db714e8668a98de67e93651e18123c (patch)
tree568a39b82f10fabc191cfe6da0fa6e17c251bd08 /env
parent9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (diff)
env: Move env_get() to env.h
Move env_get() 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 'env')
-rw-r--r--env/callback.c1
-rw-r--r--env/eeprom.c1
-rw-r--r--env/nvram.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/env/callback.c b/env/callback.c
index 54d2de4a96..95be80d454 100644
--- a/env/callback.c
+++ b/env/callback.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <env.h>
#include <environment.h>
#if defined(CONFIG_NEEDS_MANUAL_RELOC)
diff --git a/env/eeprom.c b/env/eeprom.c
index ac2689cc14..8d82cf892c 100644
--- a/env/eeprom.c
+++ b/env/eeprom.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <environment.h>
#include <linux/stddef.h>
#if defined(CONFIG_I2C_ENV_EEPROM_BUS)
diff --git a/env/nvram.c b/env/nvram.c
index df1b37913d..a5b1873aaf 100644
--- a/env/nvram.c
+++ b/env/nvram.c
@@ -25,6 +25,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <environment.h>
#include <linux/stddef.h>
#include <search.h>