Intel flash and cfi_probe.c
Bill Gatliff
bgat at billgatliff.com
Tue Jan 20 20:32:20 EST 2004
David:
I had seen the lines of code that Thayne had referred to; there are
other exit paths out of that code that leave the flash in READ STATUS
mode, apparently. Haven't researched it enough yet.
Let me know what, if anything, I can do to help!
b.g.
David Woodhouse wrote:
>On Tue, 2004-01-20 at 13:50 -0800, Dan Post wrote:
>
>
>>Hi,
>>
>>I was looking at the cfi_probe.c file, and noticed that there are numerous
>>'0xF0' commands to flash (theoretically to put the flash back into read array
>>mode). This is incorrect in terms of Intel flash; according to the datasheets
>>for L18/30 and K3/18, the "read array" command is 0xFF.
>>
>>
>
>Yeah.... the CFI spec says how to get into query mode, but unfortunately
>doesn't specify how to get out of it. And without getting out of it we
>can't check for aliases.
>
>We'd previously observed that 0xF0 happened to work for Intel chips...
>now evidently it doesn't any more. I suspect we might just have to bite
>the bullet and make it depend on the chip type, although it was easier
>to avoid that.
>
>
>
>>What would happen if we issued an 0xF0;0xFF to an AMD chip? Or 0xFF;0xF0?
>>Any AMD chip-heads care to answer? It looks like it will "work" on Intel chips...
>>
>>
>
>Hmmm. That could work.
>
>
>
--
Bill Gatliff
Embedded GNU, Linux, and other board support packages.
bgat at billgatliff.com
More information about the linux-mtd
mailing list