summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorJens Kuehnel <coreboot@jens.kuehnel.org>2008-06-18 13:36:34 +0000
committerPeter Stuge <peter@stuge.se>2008-06-18 13:36:34 +0000
commitb9f617448d532f6b7c1946e722d2d17e5de978b8 (patch)
tree7c608125c09acbc42651b87b32f22749206c8345 /flash.h
parent7ffbc6f94d50cdc584913c4f02709ae660664a75 (diff)
downloadflashrom-b9f617448d532f6b7c1946e722d2d17e5de978b8.tar.gz
flashrom-b9f617448d532f6b7c1946e722d2d17e5de978b8.tar.bz2
flashrom-b9f617448d532f6b7c1946e722d2d17e5de978b8.zip
Add support for AMIC Technology A49LF040A and do not probe W29EE011 anymore
Jens sent the first patch that added A49LF040A to flash.h and flashchips.c using _jedec and _49lf040 functions. An issue was found with probe_w29ee011() for the Winbond W29EE011, which caused the A49LF040A to no longer respond to any commands. Ward made a patch to disable probing by default for the W29EE011 following some discussion. Using -c W29EE011 will make flashrom probe for the chip. Peter did some more datasheet diving and found that the Pm49FL00x functions suited this chip quite well because of the block locking registers in A49LF040A, and finally tested PROBE READ ERASE WRITE to work on ALIX.3c3. Ward confirmed that this works on alix.2c3 too. Corresponding to flashrom svn r260 and coreboot v2 svn r3368. Signed-off-by: Jens Kuehnel <coreboot@jens.kuehnel.org> Signed-off-by: Ward Vandewege <ward@gnu.org> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Ward Vandewege <ward@gnu.org>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 17392ecbf..8ed8c92d1 100644
--- a/flash.h
+++ b/flash.h
@@ -120,6 +120,7 @@ extern struct flashchip flashchips[];
#define AMIC_ID_NOPREFIX 0x37 /* AMIC */
#define AMIC_A25L40P 0x2013
#define AMIC_A29040B 0x86
+#define AMIC_A49LF040A 0x9d
#define ASD_ID 0x25 /* ASD, not listed in JEP106W */
#define ASD_AE49F2008 0x52