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.
Signed-off-by: Mats Erik Andersson <[EMAIL PROTECTED]>
---
Index: flashrom/flash.h
===================================================================
--- flashrom/flash.h (revision 3624)
+++ flashrom/flash.h (arbetskopia)
@@ -112,6 +112,8 @@
#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
Index: flashrom/flashchips.c
===================================================================
--- flashrom/flashchips.c (revision 3624)
+++ flashrom/flashchips.c (arbetskopia)
@@ -32,6 +32,8 @@
/**********************************************************************************************************************************************************************************************************************/
/* Vendor Chip Vendor ID Chip ID
TODO TODO Test status Probe function Erase
function Write function Read function */
/**********************************************************************************************************************************************************************************************************************/
+ {"AMD", "Am29F002(N)BB", AMD_ID, AM_29F002BB,
256, 256, TEST_UNTESTED, probe_jedec,
erase_chip_jedec, write_en29f002a},
+ {"AMD", "Am29F002(N)BT", AMD_ID, AM_29F002BT,
256, 256, TEST_OK_PREW, probe_jedec,
erase_chip_jedec, write_en29f002a},
{"AMD", "Am29F016D", AMD_ID, AM_29F016D,
2048, 64 * 1024, TEST_UNTESTED, probe_29f040b,
erase_29f040b, write_29f040b},
{"AMD", "Am29F040B", AMD_ID, AM_29F040B,
512, 64 * 1024, TEST_OK_PREW, probe_29f040b,
erase_29f040b, write_29f040b},
{"AMD", "Am29LV040B", AMD_ID, AM_29LV040B,
512, 64 * 1024, TEST_UNTESTED, probe_29f040b,
erase_29f040b, write_29f040b},
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot