]> git.ipfire.org Git - thirdparty/openwrt.git/commit
kernel: mtd: limit Macronix lock feature to MX25L6405D only 21754/head
authorShiji Yang <yangshiji66@outlook.com>
Wed, 28 Jan 2026 15:15:30 +0000 (23:15 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 3 Feb 2026 23:55:50 +0000 (00:55 +0100)
commit43068360e6ddcdcef6ab7cee58f356c5383c80f5
tree8573047e35f57fa15315b7fb3a3c9cfb50b8ba0e
parent618f741494b4bb8744cc5ed1c5af59bc19aec5ff
kernel: mtd: limit Macronix lock feature to MX25L6405D only

Though most Macronix Flash support the lock feature, the generic lock
implementation is not fully compatible with the Macronix series Flash.
Enabling the lock feature globally is unsafe. These hack patches are
used to unlock the Flash of ubnt devices on the ath79 target. Rework
these patches and move it to the ath79 target to prevent the potential
risk.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21754
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ath79/patches-6.12/450-mtd-spi-nor-macronix-locking-support-for-mx25l64-ser.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/465-m25p80-mx-disable-software-protection.patch [deleted file]
target/linux/generic/pending-6.12/498-mtd-spi-nor-locking-support-for-MX25L6405D.patch [deleted file]
target/linux/generic/pending-6.12/499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch [deleted file]