mtd: spi-nor: sst: fix BPn bits for the SST25VF064C
stable inclusion from stable-5.10.4 commit f79f7258f3b7091ae5180dfe07a98e6b76ac5132 bugzilla: 46903 -------------------------------- [ Upstream commit 989d4b72 ] This flash part actually has 4 block protection bits. Please note, that this patch is just based on information of the datasheet of the datasheet and wasn't tested. Fixes: 3e0930f1 ("mtd: spi-nor: Rework the disabling of block write protection") Reported-by: NTudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: NMichael Walle <michael@walle.cc> Signed-off-by: NVignesh Raghavendra <vigneshr@ti.com> Reviewed-by: NTudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/20201203162959.29589-2-michael@walle.ccSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录