Changeset 1525 for trunk/flashrom.c


Ignore:
Timestamp:
May 1, 2012, 1:11:06 AM (3 years ago)
Author:
mkarcher
Message:

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.

Signed-off-by: Virgil-Adrian Teaca <darkstarlinux@…>
Acked-by: Michael Karcher <flashrom@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashrom.c

    r1524 r1525  
    200200                .delay                  = internal_delay, 
    201201        }, 
     202#endif 
     203 
     204#if CONFIG_PONY_SPI == 1 
     205        { 
     206                .name                   = "pony_spi", 
     207                .init                   = pony_spi_init, 
     208                .map_flash_region       = fallback_map, 
     209                .unmap_flash_region     = fallback_unmap, 
     210                .delay                  = internal_delay, 
     211}, 
    202212#endif 
    203213 
Note: See TracChangeset for help on using the changeset viewer.