Changeset 691 for trunk/spi.c
- Timestamp:
- Aug 19, 2009 3:27:58 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/spi.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/spi.c
r673 r691 83 83 }, 84 84 85 #if FT2232_SPI_SUPPORT == 1 85 86 { /* SPI_CONTROLLER_FT2232 */ 86 87 .command = ft2232_spi_send_command, … … 89 90 .write_256 = ft2232_spi_write_256, 90 91 }, 92 #endif 91 93 92 94 { /* SPI_CONTROLLER_DUMMY */ … … 96 98 .write_256 = NULL, 97 99 }, 100 101 {}, /* This entry corresponds to SPI_CONTROLLER_INVALID. */ 98 102 }; 99 103 104 const int spi_programmer_count = ARRAY_SIZE(spi_programmer); 100 105 101 106 int spi_send_command(unsigned int writecnt, unsigned int readcnt, … … 294 299 case SPI_CONTROLLER_SB600: 295 300 case SPI_CONTROLLER_WBSIO: 301 #if FT2232_SPI_SUPPORT == 1 296 302 case SPI_CONTROLLER_FT2232: 303 #endif 297 304 case SPI_CONTROLLER_DUMMY: 298 305 return probe_spi_rdid_generic(flash, 4);
Note: See TracChangeset
for help on using the changeset viewer.
