jedec_probe problems with 16bit devices

Thayne Harbaugh tharbaugh at lnxi.com
Mon Sep 13 09:12:39 EDT 2004


On Sat, 2004-09-04 at 18:37 +0100, Ben Dooks wrote:
> I have been trying to get an SST 39LF160 on an Simtec Electronics
> EB2410ITX (aka Bast). I have found some problems with jedec_probe
> with non-8bit devices.
> 
> Basically, the two problems are as follows:
> 
> 1) A number of functions are masking out bits from the command
> addresses, but the cfi_send_gen_cmd() moves the addresses up
> depending on the chip type, so the masking is not needed.
> 
> 2) the cfi_send_gen_cmd() is called with CFI_DEVICETYPE_X8
> instead of cfi->device_type, which causes the wrong accesses to
> be generated to the chip.

committed patch - please try it.





More information about the linux-mtd mailing list