projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: rawnand: marvell: Handle on-die ECC
[linux-2.6-microblaze.git]
/
drivers
/
mtd
/
nand
/
raw
/
marvell_nand.c
diff --git
a/drivers/mtd/nand/raw/marvell_nand.c
b/drivers/mtd/nand/raw/marvell_nand.c
index
ebb1d14
..
ba6889b
100644
(file)
--- a/
drivers/mtd/nand/raw/marvell_nand.c
+++ b/
drivers/mtd/nand/raw/marvell_nand.c
@@
-2157,6
+2157,7
@@
static int marvell_nand_ecc_init(struct mtd_info *mtd,
break;
case NAND_ECC_NONE:
case NAND_ECC_SOFT:
+ case NAND_ECC_ON_DIE:
if (!nfc->caps->is_nfcv2 && mtd->writesize != SZ_512 &&
mtd->writesize != SZ_2K) {
dev_err(nfc->dev, "NFCv1 cannot write %d bytes pages\n",