From 1c2ec28ce499e532e2502b40364a1ce171b95b5c Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 4 Nov 2008 12:11:12 +0000 Subject: Add support for 8 new chips and fix up 2 existing chips as well Replace age-old TODO comments with real explanations. Fixed chips: Fujitsu MBM29F400TC (ID definition) Macronix MX29F002T (chip name) New chips: Fujitsu MBM29F004BC Fujitsu MBM29F004TC Fujitsu MBM29F400BC Macronix MX25L512 Macronix MX25L1005 Macronix MX25L2005 Macronix MX25L6405 Macronix MX29F002B Straight from the data sheets, compile tested only. Corresponding to flashrom svn r339 and coreboot v2 svn r3730. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann --- flash.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 5010837..66256bd 100644 --- a/flash.h +++ b/flash.h @@ -181,13 +181,10 @@ extern struct flashchip flashchips[]; #define EN_29F002B 0x7F97 #define FUJITSU_ID 0x04 /* Fujitsu */ -/* - * MBM29F400TC_STRANGE has a value not mentioned in the data sheet and we - * try to read it from a location not mentioned in the data sheet. - */ -#define MBM29F400TC_STRANGE 0x23 -#define MBM29F400BC 0x7B -#define MBM29F400TC 0x77 +#define MBM29F400BC 0xAB +#define MBM29F400TC 0x23 +#define MBM29F004BC 0x7B +#define MBM29F004TC 0x77 #define HYUNDAI_ID 0xAD /* Hyundai */ @@ -216,7 +213,8 @@ extern struct flashchip flashchips[]; #define MX_25L6405 0x2017 /* MX25L3205{,D} */ #define MX_25L1635D 0x2415 #define MX_25L3235D 0x2416 -#define MX_29F002 0xB0 +#define MX_29F002B 0x34 +#define MX_29F002T 0xB0 /* * Programmable Micro Corp is listed in JEP106W in bank 2, so it should -- cgit v1.1