diff options
Diffstat (limited to 'drivers/mtd/nand/docg4.c')
-rw-r--r-- | drivers/mtd/nand/docg4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c index 9b3a64904668..b08202664543 100644 --- a/drivers/mtd/nand/docg4.c +++ b/drivers/mtd/nand/docg4.c | |||
@@ -1191,6 +1191,7 @@ static void __init init_mtd_structs(struct mtd_info *mtd) | |||
1191 | nand->ecc.size = DOCG4_PAGE_SIZE; | 1191 | nand->ecc.size = DOCG4_PAGE_SIZE; |
1192 | nand->ecc.prepad = 8; | 1192 | nand->ecc.prepad = 8; |
1193 | nand->ecc.bytes = 8; | 1193 | nand->ecc.bytes = 8; |
1194 | nand->ecc.strength = DOCG4_T; | ||
1194 | nand->options = | 1195 | nand->options = |
1195 | NAND_BUSWIDTH_16 | NAND_NO_SUBPAGE_WRITE | NAND_NO_AUTOINCR; | 1196 | NAND_BUSWIDTH_16 | NAND_NO_SUBPAGE_WRITE | NAND_NO_AUTOINCR; |
1196 | nand->IO_ADDR_R = nand->IO_ADDR_W = doc->virtadr + DOC_IOSPACE_DATA; | 1197 | nand->IO_ADDR_R = nand->IO_ADDR_W = doc->virtadr + DOC_IOSPACE_DATA; |