From 34f226422733c8d98bcfee946e1994997fa7c1e8 Mon Sep 17 00:00:00 2001 From: Ewout van Bekkum Date: Wed, 9 Dec 2015 13:30:28 -0800 Subject: cr50: adds the SPI master driver Adds the SPI master driver with support for both SPI masters with support for using GPIOs as chip selects or using the hardware's dedicated chip selects. Note this has not been enabled in the cr50 board. BRANCH=none BUG=none TEST=verified through use of the SPI_FLASH module on cr51 Change-Id: I88719f8d03e217ab44249172b1340011fdcfdad5 Signed-off-by: Ewout van Bekkum Reviewed-on: https://chromium-review.googlesource.com/317329 Reviewed-by: Vadim Bendebury --- include/spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/spi.h') diff --git a/include/spi.h b/include/spi.h index 21629ddd4d..8fd7b2e311 100644 --- a/include/spi.h +++ b/include/spi.h @@ -49,7 +49,7 @@ extern const struct spi_device_t spi_devices[]; extern const unsigned int spi_devices_used; /* - * The first port in spi_ports define the port to access the SPI flash. + * The first port in spi_devices defines the port to access the SPI flash. * The first gpio defines the CS GPIO to access the flash, * if used. */ -- cgit v1.2.1