summaryrefslogtreecommitdiffstats
path: root/chipdrivers.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 /chipdrivers.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 'chipdrivers.h')
-rw-r--r--chipdrivers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index f0223ae..243b64a 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -38,6 +38,7 @@ int probe_spi_rdid4(struct flashctx *flash);
int probe_spi_rems(struct flashctx *flash);
int probe_spi_res1(struct flashctx *flash);
int probe_spi_res2(struct flashctx *flash);
+int probe_spi_res3(struct flashctx *flash);
int probe_spi_at25f(struct flashctx *flash);
int spi_write_enable(struct flashctx *flash);
int spi_write_disable(struct flashctx *flash);
OpenPOWER on IntegriCloud