mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
83b5fbddf2
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 |