summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-22 12:04:23 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 16:17:39 +0200
commit21edc976ccafd18cdfe962977afb1098aadfef57 (patch)
treee3bf242a3252ccbf54705ed269dd4d315aa53634 /src/soc
parenta1e514d56f0929bc857adac73bb9aab3b775ebb7 (diff)
downloadcoreboot-21edc976ccafd18cdfe962977afb1098aadfef57.tar.xz
nvidia/tegra132: Add spi_crop_chunk()
Missed during upstreaming Change-Id: Ifef4bb8a097a71244bdb648840cd64a812673107 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/9950 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc')
-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)
{