From 052cdc337e0c57156d6eb6ea36d707a232a2fa1a Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Thu, 4 Dec 2008 00:58:10 +0000 Subject: 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. Corresponding to flashrom svn r358 and coreboot v2 svn r3793. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger --- flash.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index df122eb..de9199c 100644 --- a/flash.h +++ b/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 -- cgit v1.1