[coreboot] r3793 - trunk/util/flashrom

svn at coreboot.org svn at coreboot.org
Thu Dec 4 01:58:11 CET 2008


Author: hailfinger
Date: 2008-12-04 01:58:10 +0100 (Thu, 04 Dec 2008)
New Revision: 3793

Modified:
   trunk/util/flashrom/flash.h
Log:
Add RDID/REMS IDs for the following flash chips:

SST_25VF512A_REMS
SST_25VF010_REMS
SST_25VF020_REMS
SST_25VF040_REMS
SST_25VF040B_REMS
SST_25VF080_REMS
SST_25VF080B_REMS
SST_25VF032B_REMS
SST_26VF016
SST_26VF032
W_25X16
W_25X32
W_25X64

Straight from the data sheets.

The REMS IDs help in case the RDID opcode is unavailable (due to opcode
lockdown) or unsupported by the chip.

Some day, we need to pair probe functions together with IDs. Multiple
pairs can exist per chip and duplicating chip definitions does not
really make sense.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/util/flashrom/flash.h
===================================================================
--- trunk/util/flashrom/flash.h	2008-12-03 23:36:48 UTC (rev 3792)
+++ trunk/util/flashrom/flash.h	2008-12-04 00:58:10 UTC (rev 3793)
@@ -290,10 +290,20 @@
 #define SST_25WF010		0x2502
 #define SST_25WF020		0x2503
 #define SST_25WF040		0x2504
+#define SST_25VF512A_REMS	0x48	/* REMS or RES opcode */
+#define SST_25VF010_REMS	0x49	/* REMS or RES opcode */
+#define SST_25VF020_REMS	0x43	/* REMS or RES opcode */
+#define SST_25VF040_REMS	0x44	/* REMS or RES opcode */
+#define SST_25VF040B		0x258D
+#define SST_25VF040B_REMS	0x8D	/* REMS or RES opcode */
+#define SST_25VF080_REMS	0x80	/* REMS or RES opcode */
+#define SST_25VF080B		0x258E
+#define SST_25VF080B_REMS	0x8E	/* REMS or RES opcode */
 #define SST_25VF016B		0x2541
 #define SST_25VF032B		0x254A
-#define SST_25VF040B		0x258D
-#define SST_25VF080B		0x258E
+#define SST_25VF032B_REMS	0x4A	/* REMS or RES opcode */
+#define SST_26VF016		0x2601
+#define SST_26VF032		0x2602
 #define SST_27SF512		0xA4
 #define SST_27SF010		0xA5
 #define SST_27SF020		0xA6
@@ -378,6 +388,9 @@
 #define W_25X20			0x3012
 #define W_25X40			0x3013
 #define W_25X80			0x3014
+#define W_25X16			0x3015
+#define W_25X32			0x3016
+#define W_25X64			0x3017
 #define W_29C011		0xC1
 #define W_29C020C		0x45
 #define W_29C040P		0x46





More information about the coreboot mailing list