openwrt/target/linux/ramips
David Bauer b8b62b8506 ramips: disable badblock shifting for MT7621 NAND
The MediaTek MT7621 NAND driver currently intransparently shifts NAND
pages when a block is marked as bad. Because of this, offsets for e.g.
caldata and MAC-addresses seem to be off.

This is, howeer, not a task for the mtd NAND driver, as the flash
translation layer is tasked with this.

This patch disables this badblock shifting. This fix was originally
proposed by Jo-Philipp Wich at
https://bugs.openwrt.org/index.php?do=details&task_id=1926

Fixes FS#1926 ("MTD partition offset not correctly mapped when bad
eraseblocks present")
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 527832e54b)
2019-09-07 00:53:18 +02:00
..
base-files ramips: add support for ASUS RT-AC57U 2019-07-21 13:10:12 +02:00
dts ramips: add support for ASUS RT-AC57U 2019-07-21 13:10:12 +02:00
files-4.14/drivers ramips: ethernet: remove unused SIOCETHTOOL ioctl handling 2019-06-05 10:12:30 +02:00
image ramips: add support for ASUS RT-AC57U 2019-07-21 13:10:12 +02:00
mt76x8 ramips: enable R6120 USB power 2019-04-06 19:14:06 +02:00
mt7620 ramips: Add support for Head Weblink HDRM200 2019-05-17 21:41:43 +02:00
mt7621 ramips: mt7621: disable CONFIG_MTD_SPLIT_FIRMWARE 2018-12-13 13:39:56 +01:00
patches-4.14 ramips: disable badblock shifting for MT7621 NAND 2019-09-07 00:53:18 +02:00
rt288x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt305x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt3883 ramips: rt3883: drop jimage support 2019-01-26 21:46:33 +01:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00