summaryrefslogtreecommitdiff
path: root/src/include/spi-generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/spi-generic.h')
-rw-r--r--src/include/spi-generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/spi-generic.h b/src/include/spi-generic.h
index 6c62de6d1d..3b10ae9f49 100644
--- a/src/include/spi-generic.h
+++ b/src/include/spi-generic.h
@@ -168,6 +168,8 @@ void spi_cs_deactivate(struct spi_slave *slave);
*/
void spi_set_speed(struct spi_slave *slave, uint32_t hz);
+unsigned int spi_crop_chunk(unsigned int cmd_len, unsigned int buf_len);
+
/*-----------------------------------------------------------------------
* Write 8 bits, then read 8 bits.
* slave: The SPI slave we're communicating with