projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fe72a
)
mtd: nand: sh_flctl: set ECC algorithm explicitly
author
Rafał Miłecki
<zajec5@gmail.com>
Wed, 13 Apr 2016 12:06:56 +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/sh_flctl.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/sh_flctl.c
b/drivers/mtd/nand/sh_flctl.c
index fa4661060a2d4153f0a3b7a98c3cdf4e6e21a6c0..a5abf6f70f7286f3f2a805799f385fb2d8d13a74 100644
(file)
--- a/
drivers/mtd/nand/sh_flctl.c
+++ b/
drivers/mtd/nand/sh_flctl.c
@@
-1052,6
+1052,7
@@
static int flctl_chip_init_tail(struct mtd_info *mtd)
flctl->flcmncr_base |= _4ECCEN;
} else {
chip->ecc.mode = NAND_ECC_SOFT;
+ chip->ecc.algo = NAND_ECC_HAMMING;
}
return 0;