Support for the 256K SyncMos S29C51002T flash.

Signed-off-by: Giampiero Giancipoli <gianci@email.it>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2499 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Giampiero Giancipoli 2006-11-20 20:03:07 +00:00 committed by Uwe Hermann
parent c22851011f
commit 0eb7424004
2 changed files with 5 additions and 0 deletions

View File

@ -79,6 +79,9 @@ extern struct flashchip flashchips[];
#define MSYSTEMS_MD2800 0x30 /* hmm -- both 0x30 */ #define MSYSTEMS_MD2800 0x30 /* hmm -- both 0x30 */
#define MSYSTEMS_MD2802 0x30 /* hmm -- both 0x30 */ #define MSYSTEMS_MD2802 0x30 /* hmm -- both 0x30 */
#define SM_ID 0x40 /* SyncMOS ID */
#define S29C51002T 0x02
extern void myusec_delay(int time); extern void myusec_delay(int time);
extern void myusec_calibrate_delay(); extern void myusec_calibrate_delay();
extern int enable_flash_write(void); extern int enable_flash_write(void);

View File

@ -114,6 +114,8 @@ struct flashchip flashchips[] = {
#endif #endif
{"LHF00L04", SHARP_ID, SHARP_LHF00L04, NULL, 1024, 64 * 1024, {"LHF00L04", SHARP_ID, SHARP_LHF00L04, NULL, 1024, 64 * 1024,
probe_lhf00l04, erase_lhf00l04, write_lhf00l04, NULL}, probe_lhf00l04, erase_lhf00l04, write_lhf00l04, NULL},
{"S29C51002T", SM_ID, S29C51002T, NULL, 256, 128,
probe_jedec, erase_chip_jedec, write_49f002, NULL},
{NULL,} {NULL,}
}; };