diff options
author | Jens Kuehnel <coreboot@jens.kuehnel.org> | 2008-06-18 13:36:34 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-06-18 13:36:34 +0000 |
commit | 42b127fe2244a037a30c5e0f5c686d4ebb70d62f (patch) | |
tree | 5447e76ef0cdef326420603aaf2079d6cf926492 /util/flashrom/flash.h | |
parent | 646eb245e6fd4f974a0dd3d1e57a1871cc7fb3c5 (diff) | |
download | coreboot-42b127fe2244a037a30c5e0f5c686d4ebb70d62f.tar.xz |
flashrom: 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.
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 17392ecbf0..8ed8c92d12 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/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 |