From: Patrick Delaunay <patrick.delaunay@foss.st.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/3] env: sf: add support of command env erase
Date: Tue, 9 Feb 2021 11:48:49 +0100 [thread overview]
Message-ID: <20210209104852.1293-1-patrick.delaunay@foss.st.com> (raw)
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(-)
--
2.17.1
next reply other threads:[~2021-02-09 10:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 10:48 Patrick Delaunay [this message]
2021-02-09 10:48 ` [PATCH 1/3] env: add ENV_ERASE_PTR macro Patrick Delaunay
2021-04-18 12:45 ` Tom Rini
2021-02-09 10:48 ` [PATCH 2/3] env: sf: update the use of macro ENV_SAVE_PTR Patrick Delaunay
2021-04-18 12:45 ` Tom Rini
2021-02-09 10:48 ` [PATCH 3/3] env: sf: add support of command env erase Patrick Delaunay
2021-04-18 12:45 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210209104852.1293-1-patrick.delaunay@foss.st.com \
--to=patrick.delaunay@foss.st.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox