summaryrefslogtreecommitdiff
path: root/util/flashrom/flashchips.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-04-28 02:22:59 +0000
committerPeter Stuge <peter@stuge.se>2007-04-28 02:22:59 +0000
commit7580f87f7ad469de61cd4ffd4c978532c4bbb0e3 (patch)
tree2219835438cab4c4c88b0c9d7448ff0f004f98db /util/flashrom/flashchips.c
parent989de36703684e3686de730b1a56e41eeca5d5d5 (diff)
Add initial support for the following flash chips:
- Atmel AT29C020 - STMicroelectronics M29F002B - STMicroelectronics M29F002T - STMicroelectronics M29F002NT Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Signed-off-by: Roger Zauner <roger@eskimo.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2621 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flashchips.c')
-rw-r--r--util/flashrom/flashchips.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index c4ae6f4d7a..bf0a976dac 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -49,6 +49,8 @@ struct flashchip flashchips[] = {
probe_jedec, erase_chip_jedec, write_jedec, NULL},
{"At29C040A", ATMEL_ID, AT_29C040A, NULL, 512, 256,
probe_jedec, erase_chip_jedec, write_jedec, NULL},
+ {"At29C020", ATMEL_ID, AT_29C020, NULL, 256, 256,
+ probe_jedec, erase_chip_jedec, write_jedec, NULL},
{"Mx29f002", MX_ID, MX_29F002, NULL, 256, 64 * 1024,
probe_29f002, erase_29f002, write_29f002, NULL},
{"SST29EE020A", SST_ID, SST_29EE020A, NULL, 256, 128,
@@ -109,10 +111,14 @@ struct flashchip flashchips[] = {
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"W39V080A", WINBOND_ID, W_39V080A, NULL, 1024, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
- {"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024,
- probe_29f040b, erase_29f040b, write_29f040b, NULL},
+ {"M29F002B", ST_ID, ST_M29F002B, NULL, 256, 64 * 1024,
+ probe_jedec, erase_chip_jedec, write_jedec, NULL},
+ {"M29F002T/NT", ST_ID, ST_M29F002T, NULL, 256, 64 * 1024,
+ probe_jedec, erase_chip_jedec, write_jedec, NULL},
{"M29F400BT", ST_ID, ST_M29F400BT, NULL, 512, 64 * 1024,
probe_m29f400bt, erase_m29f400bt, write_linuxbios_m29f400bt, NULL},
+ {"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024,
+ probe_29f040b, erase_29f040b, write_29f040b, NULL},
{"82802ab", 137, 173, NULL, 512, 64 * 1024,
probe_82802ab, erase_82802ab, write_82802ab, NULL},
{"82802ac", 137, 172, NULL, 1024, 64 * 1024,