diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2007-12-31 14:05:08 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2007-12-31 14:05:08 +0000 |
commit | 717f66d1ebc4e6ae6e590ec081ae7a8ba698b37f (patch) | |
tree | 0add5277ad8916c14a974ef2b97d40099e5d25e7 /util | |
parent | 85acc09786fe1d3873cda0bba61b30a798071add (diff) | |
download | coreboot-717f66d1ebc4e6ae6e590ec081ae7a8ba698b37f.tar.xz |
Unfortunately, EN29F002T, EN29F002AT, EN29F002ANT, EN29F002NT all have
exactly the same ID. Improve model number printing.
Add EN29F002(A)(N)B support while I'm at it.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Markus Boas <bios@ryven.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3031 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r-- | util/flashrom/flash.h | 4 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index d7c659791d..e1e5934692 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -109,8 +109,8 @@ extern struct flashchip flashchips[]; #define EN_29F040A 0x7F04 #define EN_29LV010 0x7F6E #define EN_29LV040A 0x7F4F /* EN_29LV040(A) */ -#define EN_29F002AT 0x7F92 -#define EN_29F002AB 0x7F97 +#define EN_29F002T 0x7F92 +#define EN_29F002B 0x7F97 #define FUJITSU_ID 0x04 /* Fujitsu */ /* MBM29F400TC_STRANGE has a value not mentioned in the data sheet and we diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index 71f2d8ef9b..53deb499f9 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -42,8 +42,9 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_jedec}, {"At49F002(N)T",ATMEL_ID, AT_49F002NT, 256, 256, probe_jedec, erase_chip_jedec, write_jedec}, - /* The EN29F002AT can do byte program at arbitrary boundaries. */ - {"EN29F002AT", EON_ID, EN_29F002AT, 256, 256, + {"EN29F002(A)(N)T", EON_ID, EN_29F002T, 256, 256, + probe_jedec, erase_chip_jedec, write_jedec}, + {"EN29F002(A)(N)B", EON_ID, EN_29F002B, 256, 256, probe_jedec, erase_chip_jedec, write_jedec}, {"MBM29F400TC", FUJITSU_ID, MBM29F400TC_STRANGE, 512, 64 * 1024, probe_m29f400bt, erase_m29f400bt, write_linuxbios_m29f400bt}, |