diff options
author | Tom Rini <trini@konsulko.com> | 2020-07-31 10:13:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-31 10:13:07 -0400 |
commit | a2d051e7b6a8f87add1067d936bb0c805a47b0df (patch) | |
tree | 671af1a640f1fbb27f87a82685d8be9e632ee564 /include/env_flags.h | |
parent | 719f42190d5f0238cb01ef2ffba8af2285f7bc7a (diff) | |
parent | db82015929aeff6b58982a22d61ab8c5b87752f3 (diff) |
Merge branch '2020-07-31-more-env-updates'
- Fix EFI selftest to not force setting serial# environment (and also
get the U-Boot prompt dynamically).
- Support for append only environment and other related features.
- Improved ext4 environment support
- Fix the case of fw_setenv being used on flash devices that were not
already locked.
Diffstat (limited to 'include/env_flags.h')
-rw-r--r-- | include/env_flags.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/env_flags.h b/include/env_flags.h index 725841a891..313cb8c49a 100644 --- a/include/env_flags.h +++ b/include/env_flags.h @@ -24,6 +24,9 @@ enum env_flags_varaccess { env_flags_varaccess_readonly, env_flags_varaccess_writeonce, env_flags_varaccess_changedefault, +#ifdef CONFIG_ENV_WRITEABLE_LIST + env_flags_varaccess_writeable, +#endif env_flags_varaccess_end }; @@ -173,6 +176,7 @@ int env_flags_validate(const struct env_entry *item, const char *newval, #define ENV_FLAGS_VARACCESS_PREVENT_CREATE 0x00000010 #define ENV_FLAGS_VARACCESS_PREVENT_OVERWR 0x00000020 #define ENV_FLAGS_VARACCESS_PREVENT_NONDEF_OVERWR 0x00000040 -#define ENV_FLAGS_VARACCESS_BIN_MASK 0x00000078 +#define ENV_FLAGS_VARACCESS_WRITEABLE 0x00000080 +#define ENV_FLAGS_VARACCESS_BIN_MASK 0x000000f8 #endif /* __ENV_FLAGS_H__ */ |