From: AYYANARPONNUSAMY GANGHEYAMOORTHY <moorthy.apg@samsung.com>
To: linux-mtd@lists.infradead.org
Cc: David.Woodhouse@intel.com
Subject: [PATCH 2/2] [MTD] [Flex-OneNAND] JFFS2 support
Date: Fri, 19 Sep 2008 12:39:16 +0000 (GMT) [thread overview]
Message-ID: <21064664.53031221827956443.JavaMail.weblogic@epml16> (raw)
This patch allows JFFS2 to be used on Flex-OneNAND
We register the Flex-OneNAND driver with capability
of MLC NAND flash.
Signed-off-by: Rajshekar H Payagond <rajshekar.hp@samsung.com>
---
--- a/drivers/mtd/onenand/onenand_base.c 2008-09-02 13:53:40.000000000 +0530
+++ b/drivers/mtd/onenand/onenand_base.c 2008-09-02 13:54:34.000000000 +0530
@@ -3262,7 +3262,8 @@ int onenand_scan(struct mtd_info *mtd, i
/* Fill in remaining MTD driver data */
mtd->type = MTD_NANDFLASH;
- mtd->flags = MTD_CAP_NANDFLASH;
+ mtd->flags = ONENAND_IS_MLC(this) ? MTD_CAP_MLCNANDFLASH :
+ MTD_CAP_NANDFLASH;
mtd->erase = onenand_erase;
mtd->point = NULL;
mtd->unpoint = NULL;
reply other threads:[~2008-09-19 12:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=21064664.53031221827956443.JavaMail.weblogic@epml16 \
--to=moorthy.apg@samsung.com \
--cc=David.Woodhouse@intel.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