summaryrefslogtreecommitdiff
path: root/board/cr50
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-07-17 11:38:43 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-25 04:20:23 +0000
commit6f13628e7f29816abfe5108cdde55c00c36e990b (patch)
tree7f27dbe3f6365761b333473a1ae2373d84546ffd /board/cr50
parent24a0b31732d00fe24f288ad7d7900ab5ee2b40f6 (diff)
downloadchrome-ec-6f13628e7f29816abfe5108cdde55c00c36e990b.tar.gz
cr50: Use distinct configuration option for SPI Slave support
SPI slave and master interfaces require very different code to support, they should have separate configuration options. Host command code printouts should use their own console channel. Using SPS to designate SPI Slave interface is not universally acceptable, a bug has been opened to discuss the alternatives and clean up the code. BRANCH=none BUG=chromium:512613 TEST=make buildall -j Change-Id: I6683286a221c4689ecc247fdfe8ebca529f3f458 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/286469 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/cr50')
-rw-r--r--board/cr50/board.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index e93ff03ff1..5cd5c0f621 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -25,8 +25,8 @@
#define CONFIG_USB_PID 0x5014
/* Enable SPI Slave (SPS) module */
-#define CONFIG_SPI
-#define CONFIG_HOSTCMD_SPI
+#define CONFIG_SPS
+#define CONFIG_HOSTCMD_SPS
/* We don't need to send events to the AP */
#undef CONFIG_HOSTCMD_EVENTS