[PATCH v2 0/2] MTD: spi-nor: add support for sst26wf016, sst26wf032

From: Eugeniy Paltsev
Date: Mon Sep 10 2018 - 07:46:37 EST


Add support for the SST sst26wf016 and sst26wf032 flash IC:

sst26wf*** flash series block protection implementation differs from other
SST series, so we add implementation for sst26wf*** lock/unlock/is_locked
functions.

Add sst26wf016 and sst26wf032 flash IC info to spi_flash_ids list.

NOTE:
these patches is basically following mine u-boot commits port:
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=3d4fed87a5fa3ffedf64ff2811cd95c5ac4503ac
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a19e97157c3721ef9c4b15c68c1773467a3b4a98

Changes v1->v2:
* Check return value of {read | write}_reg callbacks.

Eugeniy Paltsev (2):
mtd: spi-nor: Add support of sst26wf* flash ICs protection ops
mtd: spi-nor: add support for sst26wf016, sst26wf032

drivers/mtd/spi-nor/spi-nor.c | 179 ++++++++++++++++++++++++++++++++++++++++++
include/linux/mtd/spi-nor.h | 4 +
2 files changed, 183 insertions(+)

--
2.14.4