public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Srinivasan.Ramasubramaniam@nokia.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: CFI interface !
Date: Mon, 17 Jun 2002 11:09:20 +0100	[thread overview]
Message-ID: <20804.1024308560@redhat.com> (raw)
In-Reply-To: <F252EE46074AB645B4F44947EEAD572730B5D7@mvebe001.NOE.Nokia.com>

Srinivasan.Ramasubramaniam@nokia.com said:
> I am little confused about the CFI interface. As for as i could
> understand, it the interface for the hardware device (chip driver).
> But why is that need to different CFI file like cfi_cmdset_0001.c,
> cfi_cmdset_0002.c etc. Could anybody shed light on it. Thanks in
> advance.  

CFI only defines a common interface for _identifying_ flash. The actual 
command set used to drive writes/erases/etc is still the same for each 
manufacturer as it always was -- so the CFI standard gives them all 
'command set' numbers, and we have generic code for probing CFI-compliant 
chips, which then passes control to the _real_ commandset-specific 
drivers.

Note that because the command sets used now are identical to those of older
pre-CFI chips, we actually probe older non-CFI chips in the old way and then
just pass them into the appropriate CFI command set driver too.

--
dwmw2

      reply	other threads:[~2002-06-17 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  9:52 CFI interface ! Srinivasan.Ramasubramaniam
2002-06-17 10:09 ` David Woodhouse [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=20804.1024308560@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=Srinivasan.Ramasubramaniam@nokia.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