Commit 6bf52ab3 authored by William Bourque's avatar William Bourque Committed by Michal Simek
Browse files

mtd: spi-nor: Fix lock/unlock on Micron with more than 896 sectors.



This fix sector pass 56MB to be impossible to unlock on large chip.
Should only affect Micron chip although similar fix might be needed
for chips from other vendors that make use of SR_BP3 bit to lock.

Tested on Micron N25Q512A chip, should apply to all Micron chips that
uses a fourth (SR_BP3) protection bit.

Signed-off-by: default avatarWilliam Bourque <wfb@xiphos.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 6c8c6468
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment