public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v5 0/2] sf: Check protection before writing/erasing flash
@ 2022-02-23  9:37 Jan Kiszka
  2022-02-23  9:37 ` [PATCH v5 1/2] mtd: spi: Convert is_locked callback to is_unlocked Jan Kiszka
  2022-02-23  9:37 ` [PATCH v5 2/2] sf: Query write-protection status before operating the flash Jan Kiszka
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2022-02-23  9:37 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 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] 3+ messages in thread

end of thread, other threads:[~2022-02-23  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-23  9:37 [PATCH v5 0/2] sf: Check protection before writing/erasing flash Jan Kiszka
2022-02-23  9:37 ` [PATCH v5 1/2] mtd: spi: Convert is_locked callback to is_unlocked Jan Kiszka
2022-02-23  9:37 ` [PATCH v5 2/2] sf: Query write-protection status before operating the flash Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox