From: Charles Manning <cdhmanning@gmail.com>
To: linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org
Cc: Charles Manning <cdhmanning@gmail.com>
Subject: [PATCH 2/2] omap2 nand: Align subpage reads.
Date: Thu, 6 Jan 2011 14:39:02 +1300 [thread overview]
Message-ID: <1294277942-1252-3-git-send-email-cdhmanning@gmail.com> (raw)
In-Reply-To: <1294277942-1252-1-git-send-email-cdhmanning@gmail.com>
Set align_subpage to align buffer to u32 to use the prefetch engine.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
---
drivers/mtd/nand/omap2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index cd41c58..3630971 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -886,6 +886,7 @@ static int __devinit omap_nand_probe(struct platform_device *pdev)
#else
info->nand.ecc.mode = NAND_ECC_SOFT;
#endif
+ info->nand.align_subpage = nand_align_subpage32;
/* DIP switches on some boards change between 8 and 16 bit
* bus widths for flash. Try the other width if the first try fails.
--
1.7.1.5.g49342
prev parent reply other threads:[~2011-01-06 1:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 1:39 [PATCH 0/2] Add optional mtd nand alignment for subpage reading Charles Manning
2011-01-06 1:39 ` [PATCH 1/2] mtd: Add nand_base feature to align subpage read buffers Charles Manning
2011-01-18 8:13 ` Artem Bityutskiy
2011-01-18 17:42 ` Charles Manning
2011-01-06 1:39 ` Charles Manning [this message]
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=1294277942-1252-3-git-send-email-cdhmanning@gmail.com \
--to=cdhmanning@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.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