summaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2006-11-21 23:51:08 +0000
committerStefan Reinauer <stepan@openbios.org>2006-11-21 23:51:08 +0000
commit440d6f9f8a3417a9ed59fcbf223a5bc750bdf42d (patch)
tree8c42abd49ea48e8e105f3fcaaeff6cc7f968c09a /util/flashrom
parent3a998642f553b5f280319ae9eddc66b19c3c8b89 (diff)
downloadcoreboot-440d6f9f8a3417a9ed59fcbf223a5bc750bdf42d.tar.xz
Add support for ASD AE49F2008
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> (trivial patch) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2504 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/flash.h3
-rw-r--r--util/flashrom/flashchips.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index a4822e8b07..205cb60a21 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -29,6 +29,9 @@ extern struct flashchip flashchips[];
#define AM_29F040B 0xA4
#define AM_29F016D 0xAD
+#define ASD_ID 0x25
+#define ASD_AE49F2008 0x52
+
#define ATMEL_ID 0x1F /* Winbond Manufacture ID code */
#define AT_29C040A 0xA4 /* Winbond w29c020c device code */
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 50152091ad..e2a9173320 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -44,6 +44,8 @@ struct flashchip flashchips[] = {
probe_29f040b, erase_29f040b, write_29f040b, NULL},
{"Am29F016D", AMD_ID, AM_29F016D, NULL, 2048, 64 * 1024,
probe_29f040b, erase_29f040b, write_29f040b, NULL},
+ {"AE49F2008", ASD_ID, ASD_AE49F2008, NULL, 256, 128,
+ probe_jedec, erase_chip_jedec, write_jedec, NULL},
{"At29C040A", ATMEL_ID, AT_29C040A, NULL, 512, 256,
probe_jedec, erase_chip_jedec, write_jedec, NULL},
{"Mx29f002", MX_ID, MX_29F002, NULL, 256, 64 * 1024,