Re: [PATCH 3/3] env: sf: add support of command env erase

2021-04-18 Thread Tom Rini
On Tue, Feb 09, 2021 at 11:48:52AM +0100, Patrick Delaunay wrote: > Add support of opts erase for env in SPI flash; > this opts is used by command 'env erase'. > > This command only fills the env offset by 0x0 (bit flip to 0) and > the saved environment becomes invalid (with bad CRC). > > It doe

[PATCH 3/3] env: sf: add support of command env erase

2021-02-09 Thread Patrick Delaunay
Add support of opts erase for env in SPI flash; this opts is used by command 'env erase'. This command only fills the env offset by 0x0 (bit flip to 0) and the saved environment becomes invalid (with bad CRC). It doesn't erase the sector here to avoid issue when the sector is larger than the env