Add support for Intel 440MX and Fujitsu MBM29F400TC
Detection and reading works, writing is not tested.
Corresponding to flashrom svn r158 and coreboot v2 svn r2903.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
diff --git a/chipset_enable.c b/chipset_enable.c
index 631ac29..63996da 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -433,6 +433,7 @@
static FLASH_ENABLE enables[] = {
{0x1039, 0x0630, "SIS630", enable_flash_sis630},
{0x8086, 0x7110, "PIIX4/PIIX4E/PIIX4M", enable_flash_piix4},
+ {0x8086, 0x7198, "Intel 440MX", enable_flash_piix4},
{0x8086, 0x2410, "ICH", enable_flash_ich_4e},
{0x8086, 0x2420, "ICH0", enable_flash_ich_4e},
{0x8086, 0x2440, "ICH2", enable_flash_ich_4e},
diff --git a/flash.h b/flash.h
index 743a8e5..898977f 100644
--- a/flash.h
+++ b/flash.h
@@ -92,6 +92,7 @@
#define EN_25B32 0x2016
#define FUJITSU_ID 0x04 /* Fujitsu */
+#define MBM29F400TC 0x23
#define HYUNDAI_ID 0xAD /* Hyundai */
diff --git a/flashchips.c b/flashchips.c
index 3bebfb9..a11c1b7 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -38,6 +38,8 @@
probe_jedec, erase_chip_jedec, write_jedec},
{"At29C020", ATMEL_ID, AT_29C020, 256, 256,
probe_jedec, erase_chip_jedec, write_jedec},
+ {"MBM29F400TC", FUJITSU_ID, MBM29F400TC, 512, 64 * 1024,
+ probe_m29f400bt, erase_m29f400bt, write_linuxbios_m29f400bt},
{"MX29F002", MX_ID, MX_29F002, 256, 64 * 1024,
probe_29f002, erase_29f002, write_29f002},
{"MX25L4005", MX_ID, MX_25L4005, 512, 4 * 1024,