All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] env: sf: add support of command env erase
@ 2021-02-09 10:48 Patrick Delaunay
  2021-02-09 10:48 ` [PATCH 1/3] env: add ENV_ERASE_PTR macro Patrick Delaunay
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Patrick Delaunay @ 2021-02-09 10:48 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-18 12:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 10:48 [PATCH 0/3] env: sf: add support of command env erase Patrick Delaunay
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.