diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:47:04 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | db19701039bc78b5870d74e0d7ecaf4f9e4d8d87 (patch) | |
tree | 12eb809d845ba1933b49b79f2f139553548cb654 /include/environment.h | |
parent | be54ec1624fb9a31b3fa30d55662d2c7b0832162 (diff) | |
download | u-boot-db19701039bc78b5870d74e0d7ecaf4f9e4d8d87.tar.gz |
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 'include/environment.h')
-rw-r--r-- | include/environment.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/environment.h b/include/environment.h index 44a527e1fa..c3e8d7840a 100644 --- a/include/environment.h +++ b/include/environment.h @@ -165,13 +165,6 @@ extern const unsigned char default_environment[]; #include <env_flags.h> #include <search.h> -/* Value for environment validity */ -enum env_valid { - ENV_INVALID, /* No valid environment */ - ENV_VALID, /* First or only environment is valid */ - ENV_REDUND, /* Redundant environment is valid */ -}; - enum env_location { ENVL_UNKNOWN, ENVL_EEPROM, |