On Mon, 2010-07-12 at 00:33 +0200, Carl-Daniel Hailfinger wrote:
Hi Daniel,
thanks for your patch.
Could I interest you in implementing support for all other AMIC A25 series chips as well? Even if you can't test those, it would expand flashrom coverage a lot.
Sure, I can do that. Patch for AMIC A25L{05,10,20,40,16}{T,U} and generic AMIC is attached, as well as a pretty-printer for their status register.
Signed-off-by: Daniel Lenski dlenski@gmail.com
Now here's a strange thing: The datasheets for these parts, which come in many different versions with errata, are riddled with and omissions and weird descriptions, probably due to quick-and-dirty copy-pasting by whoever's writing/translating them.
A quick search of Datasheetarchive.com suggests that the following parts exist: A25L05P[TU] - ID 2020/2010 (T/U) A25L10P[TU] - ID 2021/2011 (T/U) A25L20P[TU] - ID 2022/2012 (T/U) A25L40P[TU] - ID 2013 (Datasheet says U *and* T parts have same ID) A25L80P - ID 2014 (only U parts exist, AFAICT) A25L16P[TU] - ID 2025/2015 (T/U)
I'm willing to bet that A25L40PT actually has the device ID 2023, and *not* 2013. So my attached patch modifies the device ID for the A25L40PT accordingly. I note that Erase is untested for the A25L40P[TU]... if someone has a part with device ID 2013, I'd love to know if its erase behavior works as expected.
Dan