env: sf: add support of command env erase
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | env: add ENV_ERASE_PTR macroenv/ env/ include/ | +3 | 1 reply | |
| 2/3 | env: sf: update the use of macro ENV_SAVE_PTRenv/ | +1 | 1 reply | |
| 3/3 | env: sf: add support of command env eraseenv/ | +34 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] env: sf: add support of command env erase
Hi,
I add support of env erase command for SPI flash backend (sf).
To erase the environment, this patch only invalidate the content at CONFIG_ENV_OFFSET and at CONFIG_ENV_OFFSET_REDUND (force a bad CRC).
The 2 first patchs of the serie are preliminary and clenaup steps.
Patrick
Patrick Delaunay (3):
env: add ENV_ERASE_PTR macro
env: sf: update the use of macro ENV_SAVE_PTR
env: sf: add support of command env erase
env/ext4.c | 3 +-- env/mmc.c | 6 +----- env/sf.c | 36 +++++++++++++++++++++++++++++++++++- include/env_internal.h | 1 + 4 files changed, 38 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1