env: Move env_valid to env.h
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:47:04 +0000 (09:47 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
commitdb19701039bc78b5870d74e0d7ecaf4f9e4d8d87
tree12eb809d845ba1933b49b79f2f139553548cb654
parentbe54ec1624fb9a31b3fa30d55662d2c7b0832162
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>
env/flash.c
env/nowhere.c
include/env.h
include/environment.h