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 <mats.andersson@gisladisker.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3639 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
a643ea3beb
commit
0994c397a5
|
@ -112,6 +112,8 @@ extern struct flashchip flashchips[];
|
||||||
#define ALLIANCE_ID 0x52 /* Alliance Semiconductor */
|
#define ALLIANCE_ID 0x52 /* Alliance Semiconductor */
|
||||||
|
|
||||||
#define AMD_ID 0x01 /* AMD */
|
#define AMD_ID 0x01 /* AMD */
|
||||||
|
#define AM_29F002BT 0xB0
|
||||||
|
#define AM_29F002BB 0x34
|
||||||
#define AM_29F040B 0xA4
|
#define AM_29F040B 0xA4
|
||||||
#define AM_29LV040B 0x4F
|
#define AM_29LV040B 0x4F
|
||||||
#define AM_29F016D 0xAD
|
#define AM_29F016D 0xAD
|
||||||
|
|
|
@ -32,6 +32,8 @@ struct flashchip flashchips[] = {
|
||||||
/**********************************************************************************************************************************************************************************************************************/
|
/**********************************************************************************************************************************************************************************************************************/
|
||||||
/* Vendor Chip Vendor ID Chip ID TODO TODO Test status Probe function Erase function Write function Read function */
|
/* 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", "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", "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},
|
{"AMD", "Am29LV040B", AMD_ID, AM_29LV040B, 512, 64 * 1024, TEST_UNTESTED, probe_29f040b, erase_29f040b, write_29f040b},
|
||||||
|
|
Loading…
Reference in New Issue