summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra132/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra132/spi.c')
-rw-r--r--src/soc/nvidia/tegra132/spi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/spi.c b/src/soc/nvidia/tegra132/spi.c
index 6fd1933b92..6d9fa1f4c1 100644
--- a/src/soc/nvidia/tegra132/spi.c
+++ b/src/soc/nvidia/tegra132/spi.c
@@ -731,6 +731,11 @@ static int xfer_finish(struct tegra_spi_channel *spi)
return ret;
}
+unsigned int spi_crop_chunk(unsigned int cmd_len, unsigned int buf_len)
+{
+ return buf_len;
+}
+
int spi_xfer(struct spi_slave *slave, const void *dout,
unsigned int out_bytes, void *din, unsigned int in_bytes)
{