mtd: spi-nor: Add lock/unlock support for f25l32pa
authorVictor Shyba <victor1984@riseup.net>
Tue, 3 Jan 2017 01:34:30 +0000 (22:34 -0300)
committerCyrille Pitchen <cyrille.pitchen@atmel.com>
Fri, 10 Feb 2017 12:56:16 +0000 (13:56 +0100)
commitfcf690a22b2bd71a74ae25f048ec3f9b221cd12f
tree19995d4370e5c23943a968e4385021ad500314b4
parentba3ae6a1d4c78fce3b352b8bf026ada40b22117c
mtd: spi-nor: Add lock/unlock support for f25l32pa

This chip has write protection enabled on power-up,
so this flag is necessary to support write operations.

Signed-off-by: Victor Shyba <victor1984@riseup.net>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
drivers/mtd/spi-nor/spi-nor.c