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
/
nand
/
sharpsl.c
diff --git
a/drivers/mtd/nand/sharpsl.c
b/drivers/mtd/nand/sharpsl.c
index 2d269a53f8bbb72385617fe8ee6704a656561ed1..3421e3762a5a1ceda275b76f56386b29929d7b44 100644
(file)
--- a/
drivers/mtd/nand/sharpsl.c
+++ b/
drivers/mtd/nand/sharpsl.c
@@
-167,6
+167,7
@@
static int __devinit sharpsl_nand_probe(struct platform_device *pdev)
this->ecc.mode = NAND_ECC_HW;
this->ecc.size = 256;
this->ecc.bytes = 3;
+ this->ecc.strength = 1;
this->badblock_pattern = data->badblock_pattern;
this->ecc.layout = data->ecc_layout;
this->ecc.hwctl = sharpsl_nand_enable_hwecc;
This page took
0.026212 seconds
and
5
git commands to generate.