]> git.baikalelectronics.ru Git - kernel.git/commit
spi-nor: s25fl512s supports region locking
authorJonas Bonn <jonas@norrbonn.se>
Wed, 20 Mar 2019 07:16:04 +0000 (08:16 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 1 Apr 2019 12:37:42 +0000 (14:37 +0200)
commitca6ad3334ceae28c33a19a282e8c006de4d4c1dd
tree9137481a3b6fa07428c48b167dc74eaddd5dfb1b
parent77d3fdbdcdc749371fe2a22cdca50abd7c666de3
spi-nor: s25fl512s supports region locking

Both the BP[0-2] bits and the TBPROT bit are supported on this chip.
Tested and verified on a Cypress s25fl512s.

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/spi-nor/spi-nor.c