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>
This commit is contained in:
Patrick Georgi 2015-04-22 12:04:23 +02:00 committed by Patrick Georgi
parent a1e514d56f
commit 21edc976cc
1 changed files with 5 additions and 0 deletions

View File

@ -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)
{