summaryrefslogtreecommitdiffstats
path: root/flashchips.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-04-19 01:58:33 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-04-19 01:58:33 +0000
commit3f5e35db4b22d36918adc7ee28b0d77ee50af568 (patch)
tree22d04b8a8c66a4f8be377c54b759215f12faf1bf /flashchips.h
parente33c40eb7db5dc16763cd7c245578a968306a757 (diff)
downloadast2050-flashrom-3f5e35db4b22d36918adc7ee28b0d77ee50af568.zip
ast2050-flashrom-3f5e35db4b22d36918adc7ee28b0d77ee50af568.tar.gz
Refine PMC Pm25LV series
- Add missing bits and resort chips - Refine Pm25LV512(A) and Pm25LV010 Due to manufacturer ID continuation this one needs a new probing function: probe_spi_res3() which should be refactored in the future. The datasheet describes a very weird order of ID bytes: Vendor byte, model byte, vendor continuation byte. Let's pretend we did not read that or the datasheet is bogus (although the datasheet of the successor series describes the same but luckily additionally to RDID). - Add Pm25LV010A This was tested by Chi Zhang: http://paste.flashrom.org/view.php?id=1573 Corresponding to flashrom svn r1670. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.h')
-rw-r--r--flashchips.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/flashchips.h b/flashchips.h
index 4eebc95..7bcbf9e 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -453,8 +453,12 @@
*/
#define PMC_ID 0x7F9D /* PMC */
#define PMC_ID_NOPREFIX 0x9D /* PMC, missing 0x7F prefix */
-#define PMC_PM25LV512 0x7B
-#define PMC_PM25LV010 0x7C
+#define PMC_PM25LD256C 0x2F
+#define PMC_PM25LD512 0x20 /* Same as Pm25LD512C, but the latter has more locking options. */
+#define PMC_PM25LD010 0x21 /* Same as Pm25LD010C, but the latter has more locking options. */
+#define PMC_PM25LD020 0x22 /* Same as Pm25LD020C, but the latter has more locking options. */
+#define PMC_PM25LV512 0x7B /* Same as Pm25LV512A */
+#define PMC_PM25LV010 0x7C /* Same as Pm25LV010A, but the former does not support RDID but RES3 only. */
#define PMC_PM25LV020 0x7D
#define PMC_PM25LV040 0x7E
#define PMC_PM25LV080B 0x13
OpenPOWER on IntegriCloud