From: Alexis Ballier <aballier@gentoo.org>
To: Marek Vasut <marex@denx.de>
Cc: "Ben Hutchings" <ben@decadent.org.uk>,
"Rafał Miłecki" <zajec5@gmail.com>,
"open list" <linux-kernel@vger.kernel.org>,
"Gabor Juhos" <juhosg@openwrt.org>,
"open list:MEMORY TECHNOLOGY DEVICES (MTD)"
<linux-mtd@lists.infradead.org>,
"Huang Shijie" <shijie.huang@intel.com>,
"Brian Norris" <computersforpeace@gmail.com>,
"David Woodhouse" <dwmw2@infradead.org>,
"Bean Huo 霍斌斌 (beanhuo)" <beanhuo@micron.com>
Subject: Re: [PATCH] mtd: spi-nor: Add support for sst25wf020a.
Date: Sat, 15 Aug 2015 10:38:59 +0200 [thread overview]
Message-ID: <20150815103859.0a15da43@gentoo.org> (raw)
In-Reply-To: <201508142245.14289.marex@denx.de>
On Fri, 14 Aug 2015 22:45:14 +0200
Marek Vasut <marex@denx.de> wrote:
> On Friday, August 14, 2015 at 07:35:39 PM, Alexis Ballier wrote:
> > It is a 256KiB flash with 4 KiB erase sectors
> > and 64KiB overlay blocks.
> >
> > This is the one available on Hardkernel's Odroid U3 shield.
> >
> > Signed-off-by: Alexis Ballier <aballier@gentoo.org>
> > ---
> > drivers/mtd/spi-nor/spi-nor.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/mtd/spi-nor/spi-nor.c
> > b/drivers/mtd/spi-nor/spi-nor.c index d78831b..e521b35 100644
> > --- a/drivers/mtd/spi-nor/spi-nor.c
> > +++ b/drivers/mtd/spi-nor/spi-nor.c
> > @@ -636,6 +636,7 @@ static const struct spi_device_id spi_nor_ids[]
> > = { { "sst25wf512", INFO(0xbf2501, 0, 64 * 1024, 1, SECT_4K |
> > SST_WRITE)
> },
> > { "sst25wf010", INFO(0xbf2502, 0, 64 * 1024, 2, SECT_4K
> > | SST_WRITE)
> },
> > { "sst25wf020", INFO(0xbf2503, 0, 64 * 1024, 4, SECT_4K
> > | SST_WRITE)
> },
> > + { "sst25wf020a", INFO(0x621612, 0, 64 * 1024, 4,
> > SECT_4K) },
>
> Is the SST_WRITE not needed on this device ?
Tried that at first and it didn't work (writes were silently not
performed).
I'm no expert here, but I don't see anything about auto address
increment in the spec:
http://ww1.microchip.com/downloads/en/DeviceDoc/20005139E.pdf
and it uses the page program command (0x02).
Alexis.
[...]
next prev parent reply other threads:[~2015-08-15 8:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-14 17:35 [PATCH] mtd: spi-nor: Add support for sst25wf020a Alexis Ballier
2015-08-14 20:45 ` Marek Vasut
2015-08-15 8:38 ` Alexis Ballier [this message]
2015-08-15 13:29 ` Marek Vasut
2015-09-02 20:56 ` Brian Norris
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=20150815103859.0a15da43@gentoo.org \
--to=aballier@gentoo.org \
--cc=beanhuo@micron.com \
--cc=ben@decadent.org.uk \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=juhosg@openwrt.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marex@denx.de \
--cc=shijie.huang@intel.com \
--cc=zajec5@gmail.com \
/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