diff options
author | David Bauer <mail@david-bauer.net> | 2019-08-28 23:40:51 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-08-31 10:31:00 +0200 |
commit | 527832e54bf3bc4d699a145ae66f34230246f0a9 (patch) | |
tree | 79143125e2444a2e938639ef01aa05280763c61d /target/linux/ramips/image | |
parent | 9b0ce1789bb6d29e0fa58283bbd3ebecdf45a433 (diff) | |
download | upstream-527832e54bf3bc4d699a145ae66f34230246f0a9.tar.gz upstream-527832e54bf3bc4d699a145ae66f34230246f0a9.tar.bz2 upstream-527832e54bf3bc4d699a145ae66f34230246f0a9.zip |
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>
Diffstat (limited to 'target/linux/ramips/image')
0 files changed, 0 insertions, 0 deletions