summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorMats Erik Andersson <mats.andersson@gisladisker.se>2008-10-07 12:21:12 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-10-07 12:21:12 +0000
commitcbfed288803019bba1901cf2fbeac2d9222bd761 (patch)
tree57fe9da2ac59ef2f5530f68f8df2db445c7b9ec1 /flash.h
parent205633e12fc13676529fdf5a341b652740a3ee97 (diff)
downloadast2050-flashrom-cbfed288803019bba1901cf2fbeac2d9222bd761.zip
ast2050-flashrom-cbfed288803019bba1901cf2fbeac2d9222bd761.tar.gz
Support for AM29F002(N)B[BT]
Fully tested on AM29F002NBT. Probing, reading, and erasing use the Jedec-routines, whereas writing resort to the recent write_en29f002a(), since also these chips use a byte wise algorithm. Corresponding to flashrom svn r321 and coreboot v2 svn r3639. Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 1dcdbfb..35f7ab4 100644
--- a/flash.h
+++ b/flash.h
@@ -112,6 +112,8 @@ extern struct flashchip flashchips[];
#define ALLIANCE_ID 0x52 /* Alliance Semiconductor */
#define AMD_ID 0x01 /* AMD */
+#define AM_29F002BT 0xB0
+#define AM_29F002BB 0x34
#define AM_29F040B 0xA4
#define AM_29LV040B 0x4F
#define AM_29F016D 0xAD
OpenPOWER on IntegriCloud