* CFI interface !
@ 2002-06-17 9:52 Srinivasan.Ramasubramaniam
2002-06-17 10:09 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Srinivasan.Ramasubramaniam @ 2002-06-17 9:52 UTC (permalink / raw)
To: linux-mtd
Hi all !
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.
R Srinivasan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CFI interface !
2002-06-17 9:52 CFI interface ! Srinivasan.Ramasubramaniam
@ 2002-06-17 10:09 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2002-06-17 10:09 UTC (permalink / raw)
To: Srinivasan.Ramasubramaniam; +Cc: linux-mtd
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-17 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-17 9:52 CFI interface ! Srinivasan.Ramasubramaniam
2002-06-17 10:09 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox