summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorKonstantin Grudnev <grudnevkv@gmail.com>2019-07-23 00:48:54 +0300
committerNico Huber <nico.h@gmx.de>2019-10-04 17:41:01 +0000
commit3d8868c2b46548be6885198987492d91933c9ff7 (patch)
tree2277db98f8b19982802f812b2a984a2591009e37 /chipdrivers.h
parent4a84ec273a487c27f91bd3df70cbdf8894af70e1 (diff)
downloadflashrom-3d8868c2b46548be6885198987492d91933c9ff7.tar.gz
flashrom-3d8868c2b46548be6885198987492d91933c9ff7.tar.bz2
flashrom-3d8868c2b46548be6885198987492d91933c9ff7.zip
Add support for M95M02-A125
Automotive 2 Mbit (256KiB) serial SPI bus EEPROM PREW tested successfully with use of ch341a programmer on Linux host 5.2.0-1-MANJARO x86_64 Signed-off-by: Konstantin Grudnev <grudnevkv@gmail.com> Change-Id: Ic29cd9051c7eac4822d620c299834134f987f01b Reviewed-on: https://review.coreboot.org/c/flashrom/+/34496 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index e380878d0..cb1e877a8 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -202,4 +202,8 @@ int edi_chip_write(struct flashctx *flash, const uint8_t *buf, unsigned int star
int edi_chip_read(struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len);
int edi_probe_kb9012(struct flashctx *flash);
+/* spi95.c */
+int probe_spi_st95(struct flashctx *flash);
+int spi_block_erase_emulation(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
+
#endif /* !__CHIPDRIVERS_H__ */