Changeset 3393 for trunk/util/flashrom/spi.c
- Timestamp:
- 06/27/08 18:28:34 (5 months ago)
- Files:
-
- 1 modified
-
trunk/util/flashrom/spi.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/util/flashrom/spi.c
r3386 r3393 3 3 * 4 4 * Copyright (C) 2007, 2008 Carl-Daniel Hailfinger 5 * Copyright (C) 2008 coresystems GmbH 5 6 * 6 7 * This program is free software; you can redistribute it and/or modify … … 36 37 if (it8716f_flashport) 37 38 return it8716f_spi_command(writecnt, readcnt, writearr, readarr); 39 else if (ich7_detected) 40 return ich_spi_command(writecnt, readcnt, writearr, readarr); 38 41 else if (ich9_detected) 39 42 return ich_spi_command(writecnt, readcnt, writearr, readarr); … … 358 361 if (it8716f_flashport) 359 362 return it8716f_spi_chip_read(flash, buf); 363 else if (ich7_detected) 364 return ich_spi_read(flash, buf); 360 365 else if (ich9_detected) 361 366 return ich_spi_read(flash, buf); … … 368 373 if (it8716f_flashport) 369 374 return it8716f_spi_chip_write(flash, buf); 375 else if (ich7_detected) 376 return ich_spi_write(flash, buf); 370 377 else if (ich9_detected) 371 378 return ich_spi_write(flash, buf);
