projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: disable sub-page writes on routerboard nand drivers
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
mtd
/
nand
/
rb91x_nand.c
diff --git
a/target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c
b/target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c
index f0aa3c3e79f440905393146c16f492a9a6bd4ff2..bfc5d4dca0b3f243cf05d9f68356abff6f73431c 100644
(file)
--- a/
target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c
+++ b/
target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c
@@
-321,6
+321,7
@@
static int rb91x_nand_probe(struct platform_device *pdev)
rbni->chip.chip_delay = 25;
rbni->chip.ecc.mode = NAND_ECC_SOFT;
+ rbni->chip.options = NAND_NO_SUBPAGE_WRITE;
platform_set_drvdata(pdev, rbni);