OSDN Git Service

mtd: spi-nor: Enable locking for n25q512ax3/n25q512a
authorJungseung Lee <js07.lee@samsung.com>
Wed, 18 Mar 2020 12:06:15 +0000 (21:06 +0900)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 24 Mar 2020 09:47:52 +0000 (11:47 +0200)
commitf3f2b7eb2f1c5889b0a7162b6b5a69c0f357befd
tree28b507aa55740b63c6ba90cb69eee92cf886cfb2
parent05635c14a292de0e1a221dc31c04aba3913f03c8
mtd: spi-nor: Enable locking for n25q512ax3/n25q512a

n25q512ax3 and n25q512a use the 4 bit Block Protection scheme.
Enable locking for both. Tested on n25q512ax3. The other is modified
following the datasheet.

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