summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-03-16 16:44:07 +0000
committerStefan Reinauer <stepan@openbios.org>2006-03-16 16:44:07 +0000
commitf3ecf106fa9eda9030c5932e25b8c91b54ef6459 (patch)
treeacd95b1ea943ee3891ffb01af9455883d7806e8c /util
parent76ce5deb54ce145676fa2cc970b59cd137b5b983 (diff)
downloadcoreboot-f3ecf106fa9eda9030c5932e25b8c91b54ef6459.tar.xz
support for Am29F016D
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2203 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index c487701a20..b5bd3cac94 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -27,6 +27,7 @@ extern struct flashchip flashchips[];
#define AMD_ID 0x01
#define AM_29F040B 0xA4
+#define AM_29F016D 0xAD
#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 f718e7b140..cd050dc82a 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -42,6 +42,8 @@
struct flashchip flashchips[] = {
{"Am29F040B", AMD_ID, AM_29F040B, NULL, 512, 64 * 1024,
probe_29f040b, erase_29f040b, write_29f040b, NULL},
+ {"Am29F016D", AMD_ID, AM_29F016D, NULL, 2048, 64 * 1024,
+ probe_29f040b, erase_29f040b, write_29f040b, 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,