public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
To: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] MTD: Add support for the CPCI405 board
Date: Thu, 15 Jun 2006 10:16:01 +0200	[thread overview]
Message-ID: <44911741.50205@esd-electronics.com> (raw)
In-Reply-To: <1150315948.11159.182.camel@shinybook.infradead.org>

Hi,

David Woodhouse wrote:
> Please could you send the SST39VF3201 support separately? 
See below.
> 
> I want to stop adding map drivers -- any reason you can't use physmap?
No special reason. Just by habit.

> Either with a platform_device, or preferably by extending it to use an
> of_device too, since this is a PPC platform.
Ok, I will take a look at that. Probably cloning katana_setup_mtd() from
the katana board will be just fine.

Regards
Matthias

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>

---

diff --git a/drivers/mtd/chips/jedec_probe.c
b/drivers/mtd/chips/jedec_probe.c
index 517ea33..f99f73e 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -147,6 +147,7 @@ #define SST29LE512  0x003d
  #define SST39LF800     0x2781
  #define SST39LF160     0x2782
  #define SST39VF1601    0x234b
+#define SST39VF3201    0x235b
  #define SST39LF512     0x00D4
  #define SST39LF010     0x00D5
  #define SST39LF020     0x00D6
@@ -1483,6 +1484,22 @@ static const struct amd_flash_info jedec
                 }

         }, {
+               .mfr_id         = MANUFACTURER_SST,     /* should be CFI */
+               .dev_id         = SST39VF3201,
+               .name           = "SST 39VF3201",
+               .uaddr          = {
+                       [0] = MTD_UADDR_0x5555_0x2AAA,  /* x8 */
+                       [1] = MTD_UADDR_0x5555_0x2AAA   /* x16 */
+               },
+               .DevSize        = SIZE_4MiB,
+               .CmdSet         = P_ID_AMD_STD,
+               .NumEraseRegions= 2,
+               .regions        = {
+                       ERASEINFO(0x1000,512),
+                       ERASEINFO(0x1000,512)
+               }
+
+       }, {
                 .mfr_id         = MANUFACTURER_ST,      /* FIXME - CFI
device? */
                 .dev_id         = M29W800DT,
                 .name           = "ST M29W800DT",

      reply	other threads:[~2006-06-15  8:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 14:06 [PATCH] MTD: Add support for the CPCI405 board Matthias Fuchs
2006-06-14 20:12 ` David Woodhouse
2006-06-15  8:16   ` Matthias Fuchs [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=44911741.50205@esd-electronics.com \
    --to=matthias.fuchs@esd-electronics.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