diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-09-28 09:38:36 -0400 |
---|---|---|
committer | Artem Bityutskiy <dedekind@infradead.org> | 2006-11-29 10:03:52 -0500 |
commit | 29072b96078ffde36f03d51e6b5d0cff1ba8c7df (patch) | |
tree | 1353a27ae7e594044c521e28abf558e3796f98c9 /drivers/mtd/mtdpart.c | |
parent | f6a7ecb18dabd88bd9f28e7bece564cabe8ffe82 (diff) |
[MTD] NAND: add subpage write support
Many SLC NANDs support up to 4 writes at one NAND page. Add support
of this feature.
Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 89692f898ef4..bafd2fba87bd 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -340,6 +340,7 @@ int add_mtd_partitions(struct mtd_info *master, | |||
340 | slave->mtd.oobsize = master->oobsize; | 340 | slave->mtd.oobsize = master->oobsize; |
341 | slave->mtd.ecctype = master->ecctype; | 341 | slave->mtd.ecctype = master->ecctype; |
342 | slave->mtd.eccsize = master->eccsize; | 342 | slave->mtd.eccsize = master->eccsize; |
343 | slave->mtd.subpage_sft = master->subpage_sft; | ||
343 | 344 | ||
344 | slave->mtd.name = parts[i].name; | 345 | slave->mtd.name = parts[i].name; |
345 | slave->mtd.bank_size = master->bank_size; | 346 | slave->mtd.bank_size = master->bank_size; |