]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: spi-nor: add missing SST26* flash IC protection ops
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Mon, 9 Sep 2019 19:33:14 +0000 (22:33 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Sep 2019 02:39:22 +0000 (08:09 +0530)
commitc56afc2c769201cd2b42d0b570393133089297bd
tree79d268b4b6eaf8aaaaa02629d2804504dd22ac2a
parent6f5ca00db9c0d206adc6d9d12812fbf55e00f884
mtd: spi-nor: add missing SST26* flash IC protection ops

Commit cce39d2d20e7 (mtd: spi: Switch to new SPI NOR framework)
performs switch from previous 'spi_flash' infrastructure without
proper testing/investigations which results in a regressions for
SST26 flash series.

Add missing SST26* flash IC protection ops which were introduced
previously by
Commit 1234b49668a8 (mtd: sf: Add support of sst26wf* flash ICs
protection ops)

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/spi-nor-core.c
include/linux/mtd/spi-nor.h