mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-11-02 22:14:26 -05:00
mtd: spi-nor: locking support for MX25L6405D
Macronix MX25L6405D supports locking with four block-protection bits.
Currently, the driver only sets three bits. If the bootloader does not
sustain the flash chip in an unlocked state, the flash might be
non-writeable. Add the corresponding flag to enable locking support with
four bits in the status register.
mtd: spi-nor: disable 16-bit-sr for macronix
Macronix flash chips seem to consist of only one status register.
These chips will not work with the "16-bit Write Status (01h) Command".
Disable SNOR_F_HAS_16BIT_SR for all Macronix chips.
Refreshed:
- 0052-mtd-spi-nor-use-4-bit-locking-for-MX25L12805D.patch
Fixes:
|
||
|---|---|---|
| .. | ||
| backport-5.4 | ||
| backport-5.10 | ||
| files | ||
| hack-5.4 | ||
| hack-5.10 | ||
| image | ||
| other-files | ||
| pending-5.4 | ||
| pending-5.10 | ||
| config-5.4 | ||
| config-5.10 | ||
| config-filter | ||
| PATCHES | ||