Changeset 3398 for trunk/util/flashrom/spi.c
- Timestamp:
- 06/30/08 23:38:30 (5 months ago)
- Files:
-
- 1 modified
-
trunk/util/flashrom/spi.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/util/flashrom/spi.c
r3393 r3398 37 37 if (it8716f_flashport) 38 38 return it8716f_spi_command(writecnt, readcnt, writearr, readarr); 39 else if (ich7_detected)40 return ich_spi_command(writecnt, readcnt, writearr, readarr);39 else if ((ich7_detected) || (viaspi_detected)) 40 return ich_spi_command(writecnt, readcnt, writearr, readarr); 41 41 else if (ich9_detected) 42 42 return ich_spi_command(writecnt, readcnt, writearr, readarr); … … 361 361 if (it8716f_flashport) 362 362 return it8716f_spi_chip_read(flash, buf); 363 else if (ich7_detected)364 return ich_spi_read(flash, buf);363 else if ((ich7_detected) || (viaspi_detected)) 364 return ich_spi_read(flash, buf); 365 365 else if (ich9_detected) 366 366 return ich_spi_read(flash, buf); … … 373 373 if (it8716f_flashport) 374 374 return it8716f_spi_chip_write(flash, buf); 375 else if (ich7_detected)376 return ich_spi_write(flash, buf);375 else if ((ich7_detected) || (viaspi_detected)) 376 return ich_spi_write(flash, buf); 377 377 else if (ich9_detected) 378 378 return ich_spi_write(flash, buf);
