summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-12-04 00:58:10 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-12-04 00:58:10 +0000
commitfcf9be3b9305cfddaf74594fcaec4d6f23541154 (patch)
tree3b57a1181562a1e33b49944eab8333c0e567d6af /util
parentfd5a2df876bb28e7643c4db98a4defc8e394eb07 (diff)
downloadcoreboot-fcf9be3b9305cfddaf74594fcaec4d6f23541154.tar.xz
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@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3793 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/flashrom/flash.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index df122eba4b..de9199ccb1 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -290,10 +290,20 @@ extern struct flashchip flashchips[];
#define SST_25WF010 0x2502
#define SST_25WF020 0x2503
#define SST_25WF040 0x2504
-#define SST_25VF016B 0x2541
-#define SST_25VF032B 0x254A
+#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_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 @@ extern struct flashchip flashchips[];
#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