* [PATCH] mtd: fix mtdconcat for subpage-write NAND
@ 2007-10-02 9:09 Chris Paulson-Ellis
0 siblings, 0 replies; 3+ messages in thread
From: Chris Paulson-Ellis @ 2007-10-02 9:09 UTC (permalink / raw)
To: linux-mtd
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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] mtd: fix mtdconcat for subpage-write NAND
@ 2007-10-12 9:54 Chris Paulson-Ellis
2007-10-14 12:32 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Chris Paulson-Ellis @ 2007-10-12 9:54 UTC (permalink / raw)
To: linux-mtd
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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: fix mtdconcat for subpage-write NAND
2007-10-12 9:54 [PATCH] mtd: fix mtdconcat for subpage-write NAND Chris Paulson-Ellis
@ 2007-10-14 12:32 ` David Woodhouse
0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2007-10-14 12:32 UTC (permalink / raw)
To: Chris Paulson-Ellis; +Cc: linux-mtd
On Fri, 2007-10-12 at 10:54 +0100, Chris Paulson-Ellis wrote:
> 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>
Applied by hand; thanks. For future reference, please note your mailer
mangled the whitespace -- please test sending patches to yourself first,
then save them and attempt to apply them yourself.
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-14 12:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-12 9:54 [PATCH] mtd: fix mtdconcat for subpage-write NAND Chris Paulson-Ellis
2007-10-14 12:32 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2007-10-02 9:09 Chris Paulson-Ellis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox