mtd: sf: Add support of sst26wf* flash ICs protection ops
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Tue, 10 Apr 2018 11:40:44 +0000 (14:40 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 19 Apr 2018 11:24:01 +0000 (16:54 +0530)
commit3d4fed87a5fa3ffedf64ff2811cd95c5ac4503ac
tree7d07900a93ee8534adc5e4603fb9b4e05818a512
parent40df6b3e1882c55dd34b9177a42e21a591d668ee
mtd: sf: Add support of sst26wf* flash ICs protection ops

sst26wf flash series block protection implementation differs
from other SST series, so add specific implementation
flash_lock/flash_unlock/flash_is_locked functions for sst26wf
flash ICs.

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_flash.c