TE28F320B3B madness :(

Larry Doolittle ldoolitt at recycle.lbl.gov
Thu Oct 25 17:03:30 EDT 2001

Alex Kremer wrote:

> Larry Doolittle recently (couple of weeks ago) added support for the B3
> (Boot Block) line via jedec_probe and cfi_cmdset_001.

Yes, I did this for my own use, but Russell King did so
independently, and his version got checked in to CVS.
Plus, he knows what he's doing, so his version is
better (after I had him clarify the part numbers).

> You will need to replace  "cfi_probe" with "jedec_probe" in do_map_probe()
> from the maps driver (drivers/mtd/maps) you are using.

That's quite true.  Correct me if I'm wrong, but I think it
should _always_ be safe to probe for JEDEC first, and CFI
second.  So _all_ the mtd/maps drivers should do this,
and there should in fact be a systematic method that they
all use.  Like having a "map_flash" virtual probe that calls
first "jedec" and then "cfi_probe", if and only if each in
turn is compiled into the kernel.

      - Larry

More information about the linux-mtd mailing list