openwrt/target/linux/ath79
Nick Hainke 8ac95352d5 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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:07 +00:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2021-09-01 08:07:02 +00:00
dts ath79: define 2.4GHz radio for litebeam ac gen2 2021-09-01 08:07:07 +00: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 2021-09-01 08:07:06 +00:00
image ath79: add support for Qxwlan E1700AC v2 2021-09-01 08:07:06 +00:00
mikrotik ath79: remove model name from LED labels 2021-09-01 08:07:03 +00:00
nand ath79: remove model name from LED labels 2021-09-01 08:07:03 +00:00
patches-4.19 kernel: Update kernel 4.19 to version 4.19.138 2021-09-01 08:06:49 +00:00
patches-5.4 ath79: fix block protection clearing 2021-09-01 08:07:07 +00:00
tiny ath79: remove model name from LED labels 2021-09-01 08:07:03 +00:00
config-4.19 ath79: enable elf mtd splitter 2021-09-01 08:06:58 +00:00
config-5.4 ath79: enable elf mtd splitter 2021-09-01 08:06:58 +00:00
Makefile ath79: enable usbgadget feature 2021-09-01 08:07:02 +00:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00