projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: flash drivers set ecc strength
[deliverable/linux.git]
/
drivers
/
mtd
/
devices
/
doc2000.c
diff --git
a/drivers/mtd/devices/doc2000.c
b/drivers/mtd/devices/doc2000.c
index 7ad7b054800cdc5a6676e0b67caf2058605b617c..a4eb8b5b85ecb9b7db0c253622fc97720022f4f1 100644
(file)
--- a/
drivers/mtd/devices/doc2000.c
+++ b/
drivers/mtd/devices/doc2000.c
@@
-564,6
+564,7
@@
void DoC2k_init(struct mtd_info *mtd)
mtd->flags = MTD_CAP_NANDFLASH;
mtd->writebufsize = mtd->writesize = 512;
mtd->oobsize = 16;
+ mtd->ecc_strength = 2;
mtd->owner = THIS_MODULE;
mtd->_erase = doc_erase;
mtd->_read = doc_read;
This page took
0.024108 seconds
and
5
git commands to generate.