Intel P30 flash support MTD 2.4.16 kernel
Thomas Gleixner
tglx at linutronix.de
Sat May 27 04:43:05 EDT 2006
On Sat, 2006-05-20 at 10:35 +0200, Simon Vogl wrote:
> > If it fails, turn on DEBUG_CFI_FEATURES in
> > drivers/mtd/chips/cfi_cmdset_0001.c and check
> > for Simultaneous Operations. Some P30 versions erroniously set that
> > bit and fail horribly as a result. I spent a week trying to figure
> > that out.
>
>
> I found out this minute that this could apply to my pxa271 core (with
> on-chip p30 flash!)
> as well - it reports the sim.op. bit, while the data sheet says no.
> Could you tell me what your
> symptoms were, and your cure (a code snippet, preferrably)?
The real cure is to replace the chips by working ones. The hack is to
mask out the simultaneous ops bit when reading the CFI features.
tglx
More information about the linux-mtd
mailing list