diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-05-14 04:27:02 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-05-14 04:27:02 +0000 |
commit | 1984067a8619efe8d4c5bdc44cb27346b126bd2d (patch) | |
tree | 14e40a0722041d3935dba909d73ee4bdf16a5f18 /util/flashrom/flash.h | |
parent | b77fb6bd5276f566c02b10a3019f051f37834fc4 (diff) | |
download | coreboot-1984067a8619efe8d4c5bdc44cb27346b126bd2d.tar.xz |
Add lots of ATMEL SPI flash chips to flash.h.
Add a few flashchips already mentioned in flash.h to flashchips.c
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3306 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index b4ad94b7ee..67f49c6932 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -66,7 +66,7 @@ struct flashchip { #define TEST_OK_READ (1<<1) #define TEST_OK_ERASE (1<<2) #define TEST_OK_WRITE (1<<3) -#define TEST_OK_PREW (TEST_OK_PROBE|TEST_OK_READ|TEST_OK_ERASE|TEST_OK_WRITE) +#define TEST_OK_PREW (TEST_OK_PROBE|TEST_OK_READ|TEST_OK_ERASE|TEST_OK_WRITE) #define TEST_OK_MASK 0x0f #define TEST_BAD_PROBE (1<<4) @@ -103,6 +103,18 @@ extern struct flashchip flashchips[]; #define ASD_AE49F2008 0x52 #define ATMEL_ID 0x1F /* Atmel */ +#define AT_25DF021 0x4300 +#define AT_25DF041A 0x4401 +#define AT_25DF081 0x4502 +#define AT_25DF161 0x4602 +#define AT_25DF321 0x4700 /* also 26DF321 */ +#define AT_25DF321A 0x4701 +#define AT_25DF641 0x4800 +#define AT_26DF041 0x4400 +#define AT_26DF081 0x4500 /* guessed, no datasheet available */ +#define AT_26DF081A 0x4501 +#define AT_26DF161 0x4600 +#define AT_26DF161A 0x4601 #define AT_29C040A 0xA4 #define AT_29C020 0xDA #define AT_49F002N 0x07 /* for AT49F002(N) */ |