immortalwrt/target/linux/ath79
Nick Hainke 85f489a36d 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 11:45:37 +08:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-29 11:23:24 +08:00
dts ath79: define 2.4GHz radio for litebeam ac gen2 2020-10-26 11:42:22 +08:00
files kernel: Update kernel 5.4 to version 5.4.50 2020-07-05 13:29:49 +08:00
generic ath79: add support for Qxwlan E1700AC v2 2020-10-19 11:32:13 +08:00
image ath79: add support for Qxwlan E1700AC v2 2020-10-19 11:32:13 +08:00
mikrotik ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
nand target: update SPDX license names 2020-09-27 13:21:38 +08:00
patches-4.19 Merge Mainline 2020-10-01 21:55:59 +08:00
patches-5.4 ath79: fix block protection clearing 2020-10-26 11:45:37 +08:00
tiny ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
config-4.19 ath79: enable elf mtd splitter 2020-09-10 17:28:10 +08:00
config-5.4 ath79: enable elf mtd splitter 2020-09-10 17:28:10 +08:00
Makefile ath79: enable usbgadget feature 2020-09-28 11:14:36 +08:00
modules.mk Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00