jedec_probe_chip error?

Jeremy Jackson jerj at
Wed Apr 3 21:21:02 EST 2002

in Linux-MTD:

I'm looking at mtd/drivers/chips/jedec_probe.c:jedec_probe_chip
line 794 from current CVS.

for CFI_DEVICETYPE_X8, the unlock1 and unlock2 values
seem wrong.   They're currently 0x555 and 0x2aa, resp.
Does it work like this?  All of the small (512KiB -
128KiB) devices I've read the datasheets for, require
0x5555 and 0x2aaa here.  Are there any devices which
use the current code's values?

Also, I have discovered (see prev. post) at least one device that doesn't
respond to the aa 55 90 sequence, requiring an alternate
"old" sequence instead.  Any guidance on the best way to
implement this generically would be appreciated.


More information about the linux-mtd mailing list