summaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorEwout van Bekkum <ewout@google.com>2015-12-09 13:30:28 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-12-21 14:58:54 -0800
commit34f226422733c8d98bcfee946e1994997fa7c1e8 (patch)
tree8aeefdd3908b895eba66810eaba1481f2d41b39e /include/spi.h
parentee4e0763a17908c9cb058bfadaab0ac803062e18 (diff)
downloadchrome-ec-34f226422733c8d98bcfee946e1994997fa7c1e8.tar.gz
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 <ewout@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/317329 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h2
1 files changed, 1 insertions, 1 deletions
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.
*/