From 825c809efe1cba676dcc6f795c26ddc24055b930 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 30 Oct 2007 00:56:50 +0000 Subject: [PATCH] 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 Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/chipset_enable.c | 1 + util/flashrom/flash.h | 1 + util/flashrom/flashchips.c | 2 ++ 3 files changed, 4 insertions(+) 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,