Wacky JEDEC probes

Stefan Roese stefan.roese at esd-electronics.com
Thu Apr 3 09:38:01 EST 2003


Hi Thayne!

> > I am trying to use "jedec_probe.c" on our ppc based board to support two
> > different flash types (AMD AM29VL160xT and SSTI SST39LF160).
> Both are used
> > in 16bit mode. Since the SST flash is not really CFI compliant,
> I have to
> > use jedec_probe, right?
>
> BTW, it looks like you can simplify switch statement in your patch if
> cfi->device_type is a good way to represent the byte width of a device.
> Then again, the intention of cfi->device_type might be intended to be an
> opaque symbol only and using it as a byte width value might be an abuse.

If cfi->device_type can't be used for bus-width checking, how can we do it?
We have to read the chip id from different addresses for different
bus-widths...

Best regards,
Stefan.





More information about the linux-mtd mailing list