SR_SRWD bit in SR reg can be OTP

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Fri Jan 20 06:01:06 PST 2023


swp.c, in spi_nor_sr_unlock()/ spi_nor_sr_lock() the SR reg, SR_SRWD(bit 7) is cleared/set
each time lock/unlock is perforemed.

Micron has a (new?) security feature for some chips where this bit is OTP
and will lock down the SR reg.
Does this bit really need to be set/cleared for normal chips?


More information about the linux-mtd mailing list