Changeset 593 for trunk/softs
- Timestamp:
- Dec 5, 2013, 5:44:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/spi.c
r590 r593 96 96 97 97 spi_ctrl0 = ioread32(&spi->ctrl); 98 #ifdef IOC_USE_DMA 98 99 if (count == 512 && ((int)buf & 0x3f) == 0) { 99 100 /* use DMA */ … … 103 104 _spi_wait_if_busy(spi); 104 105 i = count / 4; 105 } else { 106 } else 107 #endif /* IOC_USE_DMA */ 108 { 106 109 /* switch to 128 bits words */ 107 110 spi_ctrl = (spi_ctrl0 & ~SPI_CTRL_CHAR_LEN_MASK) | 128;
Note: See TracChangeset
for help on using the changeset viewer.