summaryrefslogtreecommitdiff
path: root/src/soc/marvell/bg4cd/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/marvell/bg4cd/spi.c')
-rw-r--r--src/soc/marvell/bg4cd/spi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/marvell/bg4cd/spi.c b/src/soc/marvell/bg4cd/spi.c
index 188a6bd483..f9faf9504a 100644
--- a/src/soc/marvell/bg4cd/spi.c
+++ b/src/soc/marvell/bg4cd/spi.c
@@ -19,3 +19,8 @@ int spi_setup_slave(unsigned int bus, unsigned int cs, struct spi_slave *slave)
{
return -1;
}
+
+unsigned int spi_crop_chunk(unsigned int cmd_len, unsigned int buf_len)
+{
+ return buf_len;
+}