diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-05-01 20:12:55 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-05-14 00:15:38 -0400 |
commit | 1826dbccebc9a58a0b0c0a9b7c09e47b19d97398 (patch) | |
tree | 098b450ef3c9a682846b9db44f1c201d233bf7dd /drivers/mtd/nand/docg4.c | |
parent | c00a0991d14dce8d714becc49ec8ae5db9c8ac98 (diff) |
mtd: nand: kill NAND_NO_AUTOINCR option
No drivers use auto-increment NAND, so kill the NO_AUTOINCR option entirely.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/docg4.c')
-rw-r--r-- | drivers/mtd/nand/docg4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c index 8e7da0170a2b..1540de2ad39a 100644 --- a/drivers/mtd/nand/docg4.c +++ b/drivers/mtd/nand/docg4.c | |||
@@ -1193,8 +1193,7 @@ static void __init init_mtd_structs(struct mtd_info *mtd) | |||
1193 | nand->ecc.prepad = 8; | 1193 | nand->ecc.prepad = 8; |
1194 | nand->ecc.bytes = 8; | 1194 | nand->ecc.bytes = 8; |
1195 | nand->ecc.strength = DOCG4_T; | 1195 | nand->ecc.strength = DOCG4_T; |
1196 | nand->options = | 1196 | nand->options = NAND_BUSWIDTH_16 | NAND_NO_SUBPAGE_WRITE; |
1197 | NAND_BUSWIDTH_16 | NAND_NO_SUBPAGE_WRITE | NAND_NO_AUTOINCR; | ||
1198 | 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; |
1199 | nand->controller = &nand->hwcontrol; | 1198 | nand->controller = &nand->hwcontrol; |
1200 | spin_lock_init(&nand->controller->lock); | 1199 | spin_lock_init(&nand->controller->lock); |