diff options
| author | Patrick Delaunay <[email protected]> | 2022-12-14 16:51:31 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-11 15:02:24 -0500 |
| commit | 91fc785834194c7cf2f686a8861a67154e56e817 (patch) | |
| tree | ff8d11612ac3e09e37c27f8eaeeafe51287f7b63 /include | |
| parent | e64289e1ec7c66a2d858aff65c0af501557d538b (diff) | |
env: ubi: add support of command env erase
Add support of opts erase for ubi env backend, this opts is used by
command 'env erase'.
This command only zero-fill the env UBI volume CONFIG_ENV_UBI_VOLUME
and CONFIG_ENV_UBI_VOLUME_REDUND, so the saved environment becomes
invalid.
This patch introduces a local define ENV_UBI_VOLUME_REDUND
only to avoid #if in the code, as CONFIG_ENV_UBI_VOLUME_REDUND
is only defined when CONFIG_SYS_REDUNDAND_ENVIRONMENT is defined.
Signed-off-by: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
