[LinuxBIOS] [flashrom] patch: more flashchip vendors (trivial)

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Oct 22 21:56:30 CEST 2007


On 22.10.2007 21:25, Peter Lemenkov wrote:
> Hello All!
> This patch simply adds some more existing chip vendors ID. No more no less.
>
> Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
>   
Index: flash.h
===================================================================
--- flash.h     (revision 2879)
+++ flash.h     (working copy)
@@ -59,10 +59,14 @@
  * All SPI parts have 16-bit device IDs.
  */
 
+#define ALLIANCE_ID            0x52
+
 #define AMD_ID                 0x01    /* AMD */
 #define AM_29F040B             0xA4
 #define AM_29F016D             0xAD
 
+#define AMIC_ID                        0x37
+
 #define ASD_ID                 0x25    /* ASD */
 #define ASD_AE49F2008          0x52
 
@@ -70,6 +74,8 @@
 #define AT_29C040A             0xA4
 #define AT_29C020              0xDA
 
+#define CATALYST_ID            0x31
+
 #define EON_ID                 0x1C
 /* EN25 chips are SPI, first byte of device id is memory type,
    second byte of device id is log(bitsize)-9 */
@@ -81,6 +87,16 @@
 #define EN_25B16               0x2015
 #define EN_25B32               0x2016
 
+#define FYJITSU_ID             0x04
+
+#define HYUNDAI_ID             0xAD
+
+#define IMT_ID                 0x7F
+
+#define INTEL_ID               0x89
+
+#define ISSI_ID                        0xD5
+
 #define MX_ID                  0xC2    /* Macronix (MX) */
 #define MX_29F002              0xB0
 /* MX25L chips are SPI, first byte of device id is memory type,
@@ -96,6 +112,10 @@
 #define MX_25L1635D            0x2415
 #define MX_25L3235D            0x2416
 
+#define MOSEL_ID               0x40
+
+#define PMC_ID                 0x9D
+

PMC is alread in the list.

 #define SHARP_ID               0xB0    /* Sharp */
 #define SHARP_LHF00L04         0xCF
 
@@ -152,6 +172,8 @@
 #define ST_M29W010B            0x23
 #define ST_M29W040B            0xE3
 
+#define TI_ID                  0x97
+
 #define EMST_ID                        0x8c    /* EMST / EFST */
 #define EMST_F49B002UA         0x00
 


The patch is against an old version of flashrom and duplicates PMC and
maybe other entries. Please rework it (you can move PMC to be in correct
alphabetical order).

Carl-Daniel




More information about the coreboot mailing list