mtd: spi-nor: Enable locking for n25q128a13
authorJonathan Lemon <jonathan.lemon@gmail.com>
Mon, 28 Jun 2021 21:17:29 +0000 (14:17 -0700)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 15 Oct 2021 08:37:44 +0000 (11:37 +0300)
commit15b02050baeebcf1a1a1d3146ddea8f37ae00f96
tree28a30f21992d2f60629c240f249dcc5a479a99fb
parent3f491d11d8cbc3e4b4ff67bfc7f065e1cb56bcef
mtd: spi-nor: Enable locking for n25q128a13

As 4bit block protection patchset for some micron models are merged,
n25q128a13 also uses 4 bit Block Protection scheme, so enable locking
for it. Tested it on n25q128a13, the locking functions work well.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210628211729.3625017-1-jonathan.lemon@gmail.com
drivers/mtd/spi-nor/micron-st.c