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
/
sh_flctl.c
diff --git
a/drivers/mtd/nand/sh_flctl.c
b/drivers/mtd/nand/sh_flctl.c
index 2ee9a1b50a221b782a678edc3531e69737fdf470..e9b2b260de3ae081bbeb2e04bbff4d61902003b3 100644
(file)
--- a/
drivers/mtd/nand/sh_flctl.c
+++ b/
drivers/mtd/nand/sh_flctl.c
@@
-825,6
+825,7
@@
static int flctl_chip_init_tail(struct mtd_info *mtd)
chip->ecc.size = 512;
chip->ecc.bytes = 10;
+ chip->ecc.strength = 4;
chip->ecc.read_page = flctl_read_page_hwecc;
chip->ecc.write_page = flctl_write_page_hwecc;
chip->ecc.mode = NAND_ECC_HW;
This page took
0.024926 seconds
and
5
git commands to generate.