mtd: spi-nor: winbond: add OTP support to w25q32fw/jw
authorMichael Walle <michael@walle.cc>
Sun, 21 Mar 2021 23:51:40 +0000 (00:51 +0100)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 2 Apr 2021 06:32:27 +0000 (09:32 +0300)
commitb206b82d1726f6f878891791069ab0aea2e31113
tree1c8fd0bc9dcb417e94f4c8f8df272e38ab86be77
parentcad3193fe9d1f0af4d05ed86693f99984409b188
mtd: spi-nor: winbond: add OTP support to w25q32fw/jw

With all the helper functions in place, add OTP support for the Winbond
W25Q32JW and W25Q32FW.

Both were tested on a LS1028A SoC with a NXP FSPI controller.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210321235140.8308-4-michael@walle.cc
drivers/mtd/spi-nor/winbond.c