mtd: spi-nor: micron-st: Enable locking for n25q00
authorJungseung Lee <js07.lee@samsung.com>
Tue, 21 Apr 2020 06:33:13 +0000 (15:33 +0900)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 29 Apr 2020 06:03:12 +0000 (09:03 +0300)
commitf80ff13135cb44a9be96f695d19212ae952ee5f4
treeaf5a1fe70acc1505ed8616f722c0c8402620bef4
parent9f09e37d154469eb989918940fba64d8b1f8c42c
mtd: spi-nor: micron-st: Enable locking for n25q00

n25q00 uses the 4 bit Block Protection scheme and supports Top/Bottom
protection via the BP and TB bits of the Status Register.
Enable locking for n25q00. Tested with cirrus controller.

Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/micron-st.c