non cfi flash memory

David Woodhouse dwmw2 at infradead.org
Tue Jun 19 09:24:34 EDT 2001


xde at inventel.fr said:
> In fact, as the intel flash 28F160x3 is not cfi, it is useless to use
> do_map_probe("cfi") or something else as I tried to. What should be
> written is the equivalent of amd_flash.c for the flash family which
> include TE28Fxxxx3 from INTEL, M28Wxxx from ST and so on.

No. You don't need to write a whole driver for it. The existing
cfi_cmdset_0001 code can driver the chips just fine. All you need to do is
write a _probe_ routine which can pass control to the existing code, just
like the cfi_probe does.

There's already a hack in the cfi_probe code to find some non-CFI 
AMD-compatible chips and use the cfi_cmdset_0002 back end. You want 
something similar - but _don't_ add further hacks to the cfi_probe code, 
make it an entirely new probe routine like the AMD one should probably 
have been.

--
dwmw2






More information about the linux-mtd mailing list