diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-07-06 13:12:31 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-07 09:01:32 +0000 |
commit | 806cc814917209f9bc8eab1d94a78f8d828aa2c5 (patch) | |
tree | 90a154036dbd9bf74f22e92f41973b5e25c4937e /include/config.h | |
parent | eded0406a367bbfed69d3f78871df5f9be7b7b41 (diff) | |
download | chrome-ec-806cc814917209f9bc8eab1d94a78f8d828aa2c5.tar.gz |
Cr50: Simplify the API for the SPS driver
The SPS (SPI Slave) driver handles incoming traffic from the SPI
master. This abstracts the basic hardware functions into a clean
API so that the response to the SPI bytes can be put into
separate files.
BUG=chrome-os-partner:40969
BRANCH=none
TEST=make buildall
If CONFIG_SPI is not defined, incoming SPI traffic is completely ignored.
Even when it's enabled, nothing is reacting to the traffic so
incoming SPI bytes return 0xFF bytes to the master (SPI traffic
is always bidirectional).
Change-Id: I9bbcebc9c5223b942362200fe43a11ac57dfff40
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/283581
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h index 05459bfb10..d628e5d5d7 100644 --- a/include/config.h +++ b/include/config.h @@ -1272,7 +1272,7 @@ /* Support smbus interface */ #undef CONFIG_SMBUS -/* Support SPI interfaces */ +/* Support SPI (slave) interfaces */ #undef CONFIG_SPI /* Define SPI chip select GPIO pin. */ |