[PATCH v6 0/2] sf: Check protection before writing/erasing flash
Tom Rini
trini at konsulko.com
Tue May 31 21:45:10 CEST 2022
On Sat, May 28, 2022 at 02:07:17PM +0200, Jan Kiszka wrote:
> On 02.03.22 15:01, Jan Kiszka wrote:
> > Changes in v6:
> > - fixed embarrassingly inverted logic in unlock check
> > (and properly tested it this time)
> >
> > Changes in v5:
> > - adjust unused is_locked callback to our is_unlocked needs
> > - use this callback in sf command instead
> >
> > Jan
> >
> > Jan Kiszka (2):
> > mtd: spi: Convert is_locked callback to is_unlocked
> > sf: Query write-protection status before operating the flash
> >
> > cmd/sf.c | 12 ++++++++++++
> > drivers/mtd/spi/spi-nor-core.c | 26 +++++++++++++-------------
> > include/linux/mtd/spi-nor.h | 6 +++---
> > 3 files changed, 28 insertions(+), 16 deletions(-)
>
> Ping for these.
Jagan, do you have more commentary? Should I take these in to -next,
next week when it opens? Thanks.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220531/d5fa8c4d/attachment.sig>
More information about the U-Boot
mailing list