diff options
author | Marek Vasut <marex@denx.de> | 2020-07-07 20:51:34 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-31 10:13:00 -0400 |
commit | ef9bef2bfed36424a3a6678d76d9eb7b710de1ac (patch) | |
tree | 0612229dac11709f0ecbd4f3438b501461ea428a /include/search.h | |
parent | 0f036bf4b87e6416f5c4d23865a62a62d9073c20 (diff) | |
download | u-boot-ef9bef2bfed36424a3a6678d76d9eb7b710de1ac.tar.gz u-boot-ef9bef2bfed36424a3a6678d76d9eb7b710de1ac.tar.bz2 u-boot-ef9bef2bfed36424a3a6678d76d9eb7b710de1ac.zip |
env: Add H_DEFAULT flag
Add another internal environment flag which indicates that the operation
is resetting the environment to the default one. This allows the env code
to discern between import of external environment and reset to default.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h index bca36d3abc..c4b50c9630 100644 --- a/include/search.h +++ b/include/search.h @@ -112,5 +112,6 @@ int hwalk_r(struct hsearch_data *htab, #define H_MATCH_METHOD (H_MATCH_IDENT | H_MATCH_SUBSTR | H_MATCH_REGEX) #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 */ #endif /* _SEARCH_H_ */ |