diff options
author | Virgil-Adrian Teaca <darkstarlinux@gmail.com> | 2012-04-30 23:11:06 +0000 |
---|---|---|
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2012-04-30 23:11:06 +0000 |
commit | da7c545b06195185e9df9a88ef6437c61d64a225 (patch) | |
tree | 08bfe3653a11370baf4c5e1ad51d83da0012d8fc /flashrom.c | |
parent | 2abab94c18721181c8d517b8e31ffada22145ea9 (diff) | |
download | flashrom-da7c545b06195185e9df9a88ef6437c61d64a225.tar.gz flashrom-da7c545b06195185e9df9a88ef6437c61d64a225.tar.bz2 flashrom-da7c545b06195185e9df9a88ef6437c61d64a225.zip |
Add serial port bitbanging code
This adds the pony_spi driver which supports the SI_Prog adapter, which
is commonly used for SPI chips with PonyProg 2000, and a custom adapter
called "SERBANG" which differs in the logic of two pins.
Corresponding to flashrom svn r1525.
Signed-off-by: Virgil-Adrian Teaca <darkstarlinux@gmail.com>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -201,6 +201,16 @@ const struct programmer_entry programmer_table[] = { }, #endif +#if CONFIG_PONY_SPI == 1 + { + .name = "pony_spi", + .init = pony_spi_init, + .map_flash_region = fallback_map, + .unmap_flash_region = fallback_unmap, + .delay = internal_delay, +}, +#endif + #if CONFIG_NICINTEL == 1 { .name = "nicintel", |