flashchips: Add Catalyst CAT28F010
Simple 5V, 12V Vpp, 1Mbit parallel flash. Fully tested on an LSI
SCSI adapter.
Datasheet used:
https://www.onsemi.com/download/data-sheet/pdf/cat28f010-d.pdf
Change-Id: Ic7d587031eb399cd9265fa91bbe598c270bcaf72
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/523
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/flashchips.c b/flashchips.c
index 6e9c9b4..ad4d1dd 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -4073,6 +4073,29 @@
},
{
+ .vendor = "Catalyst",
+ .name = "CAT28F010",
+ .bustype = BUS_PARALLEL,
+ .id.type = ID_82802AB,
+ .id.manufacture = CATALYST_ID,
+ .id.model = CATALYST_CAT28F010,
+ .total_size = 128,
+ .tested = TEST_OK_PROBE,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {128 * 1024, 1} },
+ .block_erase = erase_m28f,
+ }
+ },
+ .write = write_m28f,
+ .read = read_memmapped,
+ .voltage = {4500, 5500}, /* 12V Vpp */
+ .prepare_access = prepare_memory_access,
+ .finish_access = finish_memory_access,
+ },
+
+ {
.vendor = "ENE",
.name = "KB9012 (EDI)",
.bustype = BUS_SPI,