From: Chris Paulson-Ellis <chris@edesix.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] mtd: fix mtdconcat for subpage-write NAND
Date: Fri, 12 Oct 2007 10:54:06 +0100 [thread overview]
Message-ID: <feng7u$sfs$1@sea.gmane.org> (raw)
This allows the mtdconcat driver to work with NAND flash devices that support sub-page writes.
Signed-off-by: Chris Paulson-Ellis <chris@edesix.com>
---
--- linux-2.6.22.2/drivers/mtd/mtdconcat.c.orig 2007-07-09 00:32:17.000000000 +0100
+++ linux-2.6.22.2/drivers/mtd/mtdconcat.c 2007-10-02 09:49:42.000000000 +0100
@@ -726,6 +726,7 @@ struct mtd_info *mtd_concat_create(struc
concat->mtd.size = subdev[0]->size;
concat->mtd.erasesize = subdev[0]->erasesize;
concat->mtd.writesize = subdev[0]->writesize;
+ concat->mtd.subpage_sft = subdev[0]->subpage_sft;
concat->mtd.oobsize = subdev[0]->oobsize;
concat->mtd.oobavail = subdev[0]->oobavail;
if (subdev[0]->writev)
next reply other threads:[~2007-10-12 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 9:54 Chris Paulson-Ellis [this message]
2007-10-14 12:32 ` [PATCH] mtd: fix mtdconcat for subpage-write NAND David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2007-10-02 9:09 Chris Paulson-Ellis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='feng7u$sfs$1@sea.gmane.org' \
--to=chris@edesix.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox