diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-06-01 23:48:31 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-06-01 23:48:31 +0000 |
commit | 8ae25279cf73176e6838490f6ffd10124eb900fe (patch) | |
tree | b5850f2c7961641b0fbb0447be298ded5c3db3c6 /programmer.h | |
parent | 4b7409d9999513a06865d2012df22437f2664335 (diff) | |
download | flashrom-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 'programmer.h')
-rw-r--r-- | programmer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h index 02d0db8..3ea014c 100644 --- a/programmer.h +++ b/programmer.h @@ -57,6 +57,9 @@ enum programmer { #if CONFIG_ATAVIA == 1 PROGRAMMER_ATAVIA, #endif +#if CONFIG_IT8212 == 1 + PROGRAMMER_IT8212, +#endif #if CONFIG_FT2232_SPI == 1 PROGRAMMER_FT2232_SPI, #endif @@ -444,6 +447,12 @@ void *atavia_map(const char *descr, uintptr_t phys_addr, size_t len); extern const struct dev_entry ata_via[]; #endif +/* it8212.c */ +#if CONFIG_IT8212 == 1 +int it8212_init(void); +extern const struct dev_entry devs_it8212[]; +#endif + /* ft2232_spi.c */ #if CONFIG_FT2232_SPI == 1 int ft2232_spi_init(void); |