diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-09-28 15:38:36 +0200 |
---|---|---|
committer | Artem Bityutskiy <dedekind@infradead.org> | 2006-11-29 16:03:52 +0100 |
commit | 29072b96078ffde36f03d51e6b5d0cff1ba8c7df (patch) | |
tree | 1353a27ae7e594044c521e28abf558e3796f98c9 /drivers/mtd/mtdpart.c | |
parent | [MTD] add MTD_BLKDEVS Kconfig option (diff) | |
download | linux-29072b96078ffde36f03d51e6b5d0cff1ba8c7df.tar.xz linux-29072b96078ffde36f03d51e6b5d0cff1ba8c7df.zip |
[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, slave->mtd.oobsize = master->oobsize; slave->mtd.ecctype = master->ecctype; slave->mtd.eccsize = master->eccsize; + slave->mtd.subpage_sft = master->subpage_sft; slave->mtd.name = parts[i].name; slave->mtd.bank_size = master->bank_size; |