1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/ath79
Nick Hainke c9e9b8c342 ath79: fix block protection clearing
The block protection bits of macronix do not match the implementation.
The chip has 3 BP bits. Bit 5 is actually the third BP but here the
5th bit is SR_TB. Therefore the patch adds SR_TB to the mask. In the
4.19er kernel the whole register was simply set to 0.

The wrong implementation did not remove the block protection. This led
to jffs2 errors in the form of:
"jffs2: Newly-erased block contained word 0x19852003 at offset 0x..."
This caused inconsistent memory and other errors.

Suggested-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-10-26 02:35:55 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: define 2.4GHz radio for litebeam ac gen2 2020-10-25 16:04:56 +01:00
files kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
generic ath79: add support for Qxwlan E1700AC v2 2020-10-17 20:18:00 +02:00
image ath79: add support for Qxwlan E1700AC v2 2020-10-17 20:18:00 +02:00
mikrotik ath79: remove model name from LED labels 2020-10-02 13:51:39 +02:00
nand ath79: remove model name from LED labels 2020-10-02 13:51:39 +02:00
patches-4.19 kernel: Update kernel 4.19 to version 4.19.138 2020-08-10 19:34:37 +02:00
patches-5.4 ath79: fix block protection clearing 2020-10-26 02:35:55 +01:00
tiny ath79: remove model name from LED labels 2020-10-02 13:51:39 +02:00
config-4.19 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
config-5.4 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
Makefile ath79: enable usbgadget feature 2020-09-28 01:28:37 +02:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00