From: zhangyd <zhangyd6@gmail.com>
To: dwmw2@infradead.org
Cc: w.sang@pengutronix.de, Artem.Bityutskiy@nokia.com,
ladis@linux-mips.org, jkosina@suse.cz,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
zhangyd <zhangyd6@gmail.com>
Subject: [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
Date: Wed, 13 Oct 2010 13:54:42 -0400 [thread overview]
Message-ID: <1286992482-6009-1-git-send-email-zhangyd6@gmail.com> (raw)
Add SST38VF6401(64Mbit) chip to jedec_probe. Sorry for the wrong description of the flash size in last patch.
Signed-off-by: yidong zhang<zhangyd6@gmail.com>
---
drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index d72a5fb..b7a1016 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -163,6 +163,7 @@
#define SST49LF030A 0x001C
#define SST49LF040A 0x0051
#define SST49LF080A 0x005B
+#define SST38VF6401 0x536B
#define SST36VF3203 0x7354
/* Toshiba */
@@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
}
}, {
.mfr_id = CFI_MFR_ST,
+ .dev_id = SST38VF6401,
+ .name = "SST 38VF6401",
+ .devtypes = CFI_DEVICETYPE_X16,
+ .uaddr = MTD_UADDR_0X0AAA_0x555,
+ .dev_size = SIZE_8MiB,
+ .cmd_set = P_ID_AMD_STD,
+ .nr_regions = 1,
+ .regions = {
+ ERASEINFO(0x10000,128),
+ }
+ }, {
+ .mfr_id = CFI_MFR_ST,
.dev_id = M29F800AB,
.name = "ST M29F800AB",
.devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
--
1.7.2.3
next reply other threads:[~2010-10-15 13:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 17:54 zhangyd [this message]
2010-10-15 14:01 ` Wolfram Sang
-- strict thread matches above, loose matches on Subject: below --
2010-10-13 17:19 zhangyd
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=1286992482-6009-1-git-send-email-zhangyd6@gmail.com \
--to=zhangyd6@gmail.com \
--cc=Artem.Bityutskiy@nokia.com \
--cc=dwmw2@infradead.org \
--cc=jkosina@suse.cz \
--cc=ladis@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=w.sang@pengutronix.de \
/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
all inboxes | Powered by JetHome®