summaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-10-30 00:56:50 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-30 00:56:50 +0000
commit825c809efe1cba676dcc6f795c26ddc24055b930 (patch)
tree209c6e55057c7b4c4196294b3501224cf5cc46a9 /util/flashrom
parent1602dd5fddf3ada03508738218d760a7544ace50 (diff)
downloadcoreboot-825c809efe1cba676dcc6f795c26ddc24055b930.tar.xz
Add support for Intel 440MX systems.
Add support for the Fujitsu MBM29F400TC flash part. Detection and reading works, writing is not tested. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/chipset_enable.c1
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/util/flashrom/chipset_enable.c b/util/flashrom/chipset_enable.c
index 631ac29874..63996da954 100644
--- a/util/flashrom/chipset_enable.c
+++ b/util/flashrom/chipset_enable.c
@@ -433,6 +433,7 @@ typedef struct penable {
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/util/flashrom/flash.h b/util/flashrom/flash.h
index 743a8e5c9d..898977f0e7 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -92,6 +92,7 @@ extern struct flashchip flashchips[];
#define EN_25B32 0x2016
#define FUJITSU_ID 0x04 /* Fujitsu */
+#define MBM29F400TC 0x23
#define HYUNDAI_ID 0xAD /* Hyundai */
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 3bebfb9a74..a11c1b78ce 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -38,6 +38,8 @@ struct flashchip flashchips[] = {
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,