aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:47:04 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commitdb19701039bc78b5870d74e0d7ecaf4f9e4d8d87 (patch)
tree12eb809d845ba1933b49b79f2f139553548cb654 /env
parentbe54ec1624fb9a31b3fa30d55662d2c7b0832162 (diff)
downloadu-boot-db19701039bc78b5870d74e0d7ecaf4f9e4d8d87.zip
u-boot-db19701039bc78b5870d74e0d7ecaf4f9e4d8d87.tar.gz
u-boot-db19701039bc78b5870d74e0d7ecaf4f9e4d8d87.tar.bz2
env: Move env_valid to env.h
This enum is somewhat widely used to determine if the environment is valid or not. Move it to the common environment header file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'env')
-rw-r--r--env/flash.c1
-rw-r--r--env/nowhere.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/env/flash.c b/env/flash.c
index a26d943..7a73466 100644
--- a/env/flash.c
+++ b/env/flash.c
@@ -11,6 +11,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <environment.h>
#include <linux/stddef.h>
#include <malloc.h>
diff --git a/env/nowhere.c b/env/nowhere.c
index ea6c32e..7db4eec 100644
--- a/env/nowhere.c
+++ b/env/nowhere.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <environment.h>
#include <linux/stddef.h>