jedec_probe problems with 16bit devices
Ben Dooks
ben-mtd at fluff.org
Tue Sep 14 18:46:16 EDT 2004
On Mon, Sep 13, 2004 at 07:12:39AM -0600, Thayne Harbaugh wrote:
> 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.
I'll try this on my EB2410ITX as soon as I can, would like to
polish the NOR flash driver and get it uploaded.
--
Ben (ben at fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
More information about the linux-mtd
mailing list