From 21edc976ccafd18cdfe962977afb1098aadfef57 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 22 Apr 2015 12:04:23 +0200 Subject: nvidia/tegra132: Add spi_crop_chunk() Missed during upstreaming Change-Id: Ifef4bb8a097a71244bdb648840cd64a812673107 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/9950 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/soc/nvidia/tegra132/spi.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/soc') 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) { -- cgit v1.2.3