aboutsummaryrefslogtreecommitdiff
path: root/include/search.h
diff options
context:
space:
mode:
authorMarek Vasut2020-07-07 20:51:35 +0200
committerTom Rini2020-07-31 10:13:00 -0400
commit890feecaab72a630eac3344443e053173f4ad02f (patch)
treec36661a5b3a0d8e65f813cc1f5fcf06d3f100d2c /include/search.h
parentef9bef2bfed36424a3a6678d76d9eb7b710de1ac (diff)
env: Discern environment coming from external storage
Add another custom environment flag which discerns environment coming from external storage from environment set by U-Boot itself. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/search.h')
-rw-r--r--include/search.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h
index c4b50c9630b..e56843c26fd 100644
--- a/include/search.h
+++ b/include/search.h
@@ -113,5 +113,6 @@ int hwalk_r(struct hsearch_data *htab,
#define H_PROGRAMMATIC (1 << 9) /* indicate that an import is from env_set() */
#define H_ORIGIN_FLAGS (H_INTERACTIVE | H_PROGRAMMATIC)
#define H_DEFAULT (1 << 10) /* indicate that an import is default env */
+#define H_EXTERNAL (1 << 11) /* indicate that an import is external env */
#endif /* _SEARCH_H_ */