immortalwrt/target
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
..
imagebuilder imagebuilder: add missing libfakeroot files 2020-09-29 11:29:57 +08:00
linux ath79: fix block protection clearing 2020-10-26 11:45:37 +08:00
sdk build: enable ccache by default 2020-10-04 21:45:07 +08:00
toolchain
Config.in Merge Mainline 2020-09-28 13:14:47 +08:00
Makefile