Some SPI NOR devices, particularly Atmel and SST, power-up with block protect bits set in the status register. These bits must be cleared before any erase or program operation can succeed. However, blindly clearing bits in SR is wrong as some of these are non-volatile and control chip behavior, including quad-enable. Add a devicetree flag to identify device-specific BP bits in the status register that should be cleared on startup only for devices that need them, and when set do the clear during initialization. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm | ||
| arm64 | ||
| bindings | ||
| common | ||
| nios2 | ||
| posix | ||
| riscv | ||
| sparc | ||
| x86 | ||
| xtensa | ||
| binding-template.yaml | ||
| Kconfig | ||