public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Stuart Menefy <stuart.menefy@st.com>
To: linux-mtd@lists.infradead.org
Subject: CFI fixup code
Date: Fri, 23 May 2003 23:50:20 +0100	[thread overview]
Message-ID: <20030523235020.3ca198e1.stuart.menefy@st.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

Folks

Having been bitten several times now by buggy CFI data in various chips, I
thought I'd try and come up with an generic mechanism for working round
this problem.

The changes come in two parts. The largest change is actually just a tidy
up of the code which reads extended CFI tables, providing a utility
function which can be shared by the various CFI command sets, and ensuring
that the device manufacturer and ID is always available.

The second part of the patch is then very small. Simply provide a table
of fixup routines, which can be called as required, to fixup the CFI data.

The current Intel StrataFlash and AMD boot block location bugs have been
moved to use the new mechanism, and I've added a couple of fixups for ST
Flash devices which have appeared in this list over the last year or so.

The patches are available from:
  ftp://ftp.superhlinux.com/pub/people/stuart/cfifixup/

Any comments welcome.

Stuart

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

             reply	other threads:[~2003-05-25  9:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-23 22:50 Stuart Menefy [this message]
2003-05-26  8:48 ` CFI fixup code David Woodhouse
2003-05-26 21:42   ` David Woodhouse

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=20030523235020.3ca198e1.stuart.menefy@st.com \
    --to=stuart.menefy@st.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