openwrt/target/linux
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
..
apm821xx treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
ar71xx treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings 2019-09-06 11:37:39 +02:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
at91 at91:renaming subtraget legacy to sam9x 2019-05-30 12:12:57 +02:00
ath25 treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings 2019-09-06 11:37:39 +02:00
ath79 treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings 2019-09-06 11:37:39 +02:00
bcm53xx bcm53xx: sysupgrade: call nand_do_upgrade() from platform_do_upgrade() 2019-09-04 13:25:14 +02:00
brcm47xx kernel: bump 4.14 to 4.14.133 2019-07-12 09:39:33 +02:00
brcm63xx kernel: bump 4.14 to 4.14.141 2019-08-30 16:46:52 +02:00
brcm2708 treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
cns3xxx kernel: drop everything not on kernel version 4.14 2019-06-12 01:18:52 +02:00
gemini gemini: Fix up DNS-313 compatible string 2019-09-04 13:17:46 +02:00
generic kernel: bump 4.14 to 4.14.140 2019-08-28 13:09:41 +02:00
imx6 treewide: replace remaining (not working now) $SAVE_CONFIG uses 2019-09-06 11:36:26 +02:00
ipq40xx treewide: replace remaining (not working now) $SAVE_CONFIG uses 2019-09-06 11:36:26 +02:00
ipq806x kernel: bump 4.14 to 4.14.120 2019-05-21 09:45:15 +02:00
kirkwood kernel: drop everything not on kernel version 4.14 2019-06-12 01:18:52 +02:00
lantiq lantiq: unify Fritz!Box LED mappings 2019-08-15 14:53:04 +02:00
layerscape kernel: bump 4.14 to 4.14.136 2019-08-06 11:54:50 +02:00
malta malta: Deactivate MIPS O32 and N32 support 2019-05-14 21:50:42 +02:00
mediatek kernel: bump 4.14 to 4.14.136 2019-08-06 11:54:50 +02:00
mpc85xx mpc85xx: correct OCEDO Panda LED definition 2019-08-05 22:40:35 +02:00
mvebu treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
mxs mxs: disable unused serial drivers 2019-03-11 19:35:43 +01:00
octeon kernel: drop everything not on kernel version 4.14 2019-06-12 01:18:52 +02:00
octeontx kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
omap treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
oxnas kernel: bump 4.14 to 4.14.128 2019-06-20 15:50:00 +02:00
pistachio kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ramips ramips: disable badblock shifting for MT7621 NAND 2019-09-07 00:53:18 +02:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
tegra treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
uml kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
x86 treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-09-04 13:43:05 +02:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile