projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: disable badblock shifting for MT7621 NAND
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
patches-4.14
/
0039-mtd-add-mt7621-nand-support.patch
diff --git
a/target/linux/ramips/patches-4.14/0039-mtd-add-mt7621-nand-support.patch
b/target/linux/ramips/patches-4.14/0039-mtd-add-mt7621-nand-support.patch
index d50e689110eab3e8c140261600561b150b960089..03b2b36db95a9decdfddbcd845101a98319d59b8 100644
(file)
--- a/
target/linux/ramips/patches-4.14/0039-mtd-add-mt7621-nand-support.patch
+++ b/
target/linux/ramips/patches-4.14/0039-mtd-add-mt7621-nand-support.patch
@@
-3578,7
+3578,7
@@
Signed-off-by: John Crispin <blogic@openwrt.org>
+ if (!err) {
+ MSG(INIT, "[mtk_nand] probe successfully!\n");
+ nand_disable_clock();
-+ shift_on_bbt =
1
;
++ shift_on_bbt =
0
;
+ if (load_fact_bbt(mtd) == 0) {
+ int i;
+ for (i = 0; i < 0x100; i++)