All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] sf: Check protection before writing/erasing flash
@ 2022-03-02 14:01 Jan Kiszka
  2022-03-02 14:01 ` [PATCH v6 1/2] mtd: spi: Convert is_locked callback to is_unlocked Jan Kiszka
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jan Kiszka @ 2022-03-02 14:01 UTC (permalink / raw)
  To: U-Boot Mailing List, Tom Rini
  Cc: Michael Walle, Jagan Teki, Tudor.Ambarus, Vignesh R, baocheng.su,
	chao zeng

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-05-31 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 14:01 [PATCH v6 0/2] sf: Check protection before writing/erasing flash Jan Kiszka
2022-03-02 14:01 ` [PATCH v6 1/2] mtd: spi: Convert is_locked callback to is_unlocked Jan Kiszka
2022-03-02 14:01 ` [PATCH v6 2/2] sf: Query write-protection status before operating the flash Jan Kiszka
2022-05-28 12:07 ` [PATCH v6 0/2] sf: Check protection before writing/erasing flash Jan Kiszka
2022-05-31 19: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.