summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-06-01 23:48:31 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-06-01 23:48:31 +0000
commit8ae25279cf73176e6838490f6ffd10124eb900fe (patch)
treeb5850f2c7961641b0fbb0447be298ded5c3db3c6 /flashrom.c
parent4b7409d9999513a06865d2012df22437f2664335 (diff)
downloadflashrom-8ae25279cf73176e6838490f6ffd10124eb900fe.zip
flashrom-8ae25279cf73176e6838490f6ffd10124eb900fe.tar.gz
Add IT8212F as programmer
This PCI PATA controller can use 3V parallel flash up to 128 kB. My card was identified as: PCI 1283:8212, subsystem 1283:0001. and labelled as: Innovision Multimedia LTD. EIO ATA133 RAID (DM-8401 Ver A) This particular card did not require setting of any GPIO signals to enable flash writing. My card has Pm39LV512 in PLCC32 package without socket. Rebased by Stefan (automatic cleanup, some PCI changes, changed enable bit handling). Committed with test state NT because the rebased version was not tested on real hardware (yet). Binary file (standard input) matches Corresponding to flashrom svn r1812.
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index 8a2a5b1..a8a8533 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -184,6 +184,18 @@ const struct programmer_entry programmer_table[] = {
},
#endif
+#if CONFIG_IT8212 == 1
+ {
+ .name = "it8212",
+ .type = PCI,
+ .devs.dev = devs_it8212,
+ .init = it8212_init,
+ .map_flash_region = fallback_map,
+ .unmap_flash_region = fallback_unmap,
+ .delay = internal_delay,
+ },
+#endif
+
#if CONFIG_FT2232_SPI == 1
{
.name = "ft2232_spi",
OpenPOWER on IntegriCloud