public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>,
	Tom Rini <trini@konsulko.com>
Cc: Michael Walle <michael@walle.cc>,
	Jagan Teki <jagan@amarulasolutions.com>,
	 <Tudor.Ambarus@microchip.com>, Vignesh R <vigneshr@ti.com>,
	<baocheng.su@siemens.com>, chao zeng <chao.zeng@siemens.com>
Subject: [PATCH v5 0/2] sf: Check protection before writing/erasing flash
Date: Wed, 23 Feb 2022 10:37:29 +0100	[thread overview]
Message-ID: <cover.1645609051.git.jan.kiszka@siemens.com> (raw)

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


             reply	other threads:[~2022-02-23  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23  9:37 Jan Kiszka [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1645609051.git.jan.kiszka@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=Tudor.Ambarus@microchip.com \
    --cc=baocheng.su@siemens.com \
    --cc=chao.zeng@siemens.com \
    --cc=jagan@amarulasolutions.com \
    --cc=michael@walle.cc \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox