From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
Eric Miao <eric.y.miao@gmail.com>,
linux-mtd@lists.infradead.org
Subject: [PATCH] [MTD] [NAND] pxa3xx: fix timing and cmdset for samsung2GbX8
Date: Mon, 16 Aug 2010 16:50:41 +0800 [thread overview]
Message-ID: <1281948641.29696.1.camel@mola> (raw)
This patch adds timing settings for samsung2GbX8 and
fixes the cmdset settings. samsung2GbX8 is large page.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mtd/nand/pxa3xx_nand.c | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 4d89f37..47c0442 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -227,9 +227,21 @@ static struct pxa3xx_nand_flash samsung512MbX16 = {
.chip_id = 0x46ec,
};
+static struct pxa3xx_nand_timing samsung2GbX8_timing = {
+ .tCH = 5,
+ .tCS = 20,
+ .tWH = 10,
+ .tWP = 12,
+ .tRH = 10,
+ .tRP = 12,
+ .tR = 25000,
+ .tWHR = 60,
+ .tAR = 10,
+};
+
static struct pxa3xx_nand_flash samsung2GbX8 = {
- .timing = &samsung512MbX16_timing,
- .cmdset = &smallpage_cmdset,
+ .timing = &samsung2GbX8_timing,
+ .cmdset = &largepage_cmdset,
.page_per_block = 64,
.page_size = 2048,
.flash_width = 8,
--
1.7.2
next reply other threads:[~2010-08-16 8:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 8:50 Axel Lin [this message]
2010-08-16 12:22 ` [PATCH] [MTD] [NAND] pxa3xx: fix timing and cmdset for samsung2GbX8 Eric Miao
2010-08-16 12:34 ` Lei Wen
2010-08-16 12:44 ` Eric Miao
2010-08-16 12:49 ` Haojian Zhuang
2010-08-16 12:55 ` Eric Miao
2010-08-16 13:05 ` David Woodhouse
2010-08-16 13:55 ` Eric Miao
2010-08-16 14:03 ` Lei Wen
2010-08-16 14:16 ` Eric Miao
2010-08-16 14:20 ` Lei Wen
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=1281948641.29696.1.camel@mola \
--to=axel.lin@gmail.com \
--cc=dwmw2@infradead.org \
--cc=eric.y.miao@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--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