linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Gernot Hoyler <Gernot.Hoyler@spansion.com>
To: linux-mtd@lists.infradead.org
Cc: fransmeulenbroeks@gmail.com
Subject: Re: Re: protection on cfi-flash
Date: Tue, 24 Aug 2010 11:56:05 +0200	[thread overview]
Message-ID: <4C739735.3090408@spansion.com> (raw)
In-Reply-To: <AANLkTinWBxKC0F-awnJktD7JfJofg3XqT-1onPcQypws@mail.gmail.com>

 > I would expect flash_erase to get some error code in that case and
 > report it back (or if that is not possible do a readback of the data
 > to see if the erase was successful).

Erasing or programing a locked sector does not immediately issue an
error on the S29GL01GP. The status you get from the device in this
case shows a couple of toggle bit cycles before it goes back to read
array mode.

It is the responsibility of higher layers to verify erase and/or program
operations. This verification step is done e.g. in flash file systems
but not in the MTD chip driver.

--Gernot

PS: Feel free to get in direct touch with me regarding adding locking
     support to the AMD/Spansion chip driver. I can help you with this.

      reply	other threads:[~2010-08-24  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05  8:01 protection on cfi-flash Frans Meulenbroeks
2010-08-24  9:56 ` Gernot Hoyler [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=4C739735.3090408@spansion.com \
    --to=gernot.hoyler@spansion.com \
    --cc=fransmeulenbroeks@gmail.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;
as well as URLs for NNTP newsgroup(s).