1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

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>
This commit is contained in:
Virgil-Adrian Teaca
2012-04-30 23:11:06 +00:00
committed by Michael Karcher
parent 2abab94c18
commit da7c545b06
6 changed files with 283 additions and 1 deletions

View File

@ -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",