summaryrefslogtreecommitdiffstats
path: root/flash_rom.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2002-05-28 23:29:17 +0000
committerRonald G. Minnich <rminnich@gmail.com>2002-05-28 23:29:17 +0000
commit3c910ed8075f20cb2e6c6e919e4b4cbcdfed8b9f (patch)
treee106fdf52d25899532b5ea1c26b38b28815659ea /flash_rom.c
parent1e5003fdeb83baddfd4284fda60fa8e612f7d90f (diff)
downloadast2050-flashrom-3c910ed8075f20cb2e6c6e919e4b4cbcdfed8b9f.zip
ast2050-flashrom-3c910ed8075f20cb2e6c6e919e4b4cbcdfed8b9f.tar.gz
Add support for ST M29F400BT - part 1
Corresponding to coreboot v1 svn r582.
Diffstat (limited to 'flash_rom.c')
-rw-r--r--flash_rom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/flash_rom.c b/flash_rom.c
index 24b07a7..8f05c25 100644
--- a/flash_rom.c
+++ b/flash_rom.c
@@ -35,6 +35,7 @@
#include "flash.h"
#include "jedec.h"
+#include "m29f400bt.h"
struct flashchip flashchips[] = {
{"Am29F040B", AMD_ID, AM_29F040B, NULL, 512, 64*1024,
@@ -51,6 +52,8 @@ struct flashchip flashchips[] = {
probe_39sf020, erase_39sf020, write_39sf020},
{"W29C020C", WINBOND_ID, W_29C020C, NULL, 256, 128,
probe_jedec, erase_jedec, write_jedec},
+ {"M29F400BT", ST_ID, ST_M29F400BT , NULL, 512, 64*1024,
+ probe_m29f400bt, erase_m29f400bt, write_linuxbios_m29f400bt},
{NULL,}
};
OpenPOWER on IntegriCloud