projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7b83b8
)
mtd: nand: s3c2410: set ECC algorithm explicitly
author
Rafał Miłecki
<zajec5@gmail.com>
Wed, 13 Apr 2016 12:06:55 +0000
(14:06 +0200)
committer
Boris Brezillon
<boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:51:52 +0000
(23:51 +0200)
This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to
enum nand_ecc_algo).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/s3c2410.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/s3c2410.c
b/drivers/mtd/nand/s3c2410.c
index 4c043db5513168e822f3de897af282afb2fbabe3..d9309cf0ce2ec3cd6b76f3d61c4fb0433d32b213 100644
(file)
--- a/
drivers/mtd/nand/s3c2410.c
+++ b/
drivers/mtd/nand/s3c2410.c
@@
-882,6
+882,7
@@
static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
}
#else
chip->ecc.mode = NAND_ECC_SOFT;
+ chip->ecc.algo = NAND_ECC_HAMMING;
#endif
if (set->disable_ecc)