summaryrefslogtreecommitdiff
path: root/board/host
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-06-01 21:25:03 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-03 21:50:59 +0000
commit14d69d56632b502821aacf5d772e9cde5c9b083e (patch)
tree6760f3a652a8653b283e2bc2fc0370bcfcca64a6 /board/host
parent01d1f8b816be1702fb0fd0fb25d2c07bae29b20c (diff)
downloadchrome-ec-14d69d56632b502821aacf5d772e9cde5c9b083e.tar.gz
COIL: Rename CONFIG_SPI_MASTER to CONFIG_SPI_CONTROLLER
This replaces the CONFIG_SPI_MASTERR config option with CONFIG_SPI_CONTROLLER. BRANCH=none BUG=b:181607131 TEST=make buildall passes; "compare_build.sh -b all" shows no difference Change-Id: I3c921085179294765baadf7074652978fe04a4ed Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932465 Reviewed-by: Craig Hesling <hesling@chromium.org> Commit-Queue: Craig Hesling <hesling@chromium.org>
Diffstat (limited to 'board/host')
-rw-r--r--board/host/board.c2
-rw-r--r--board/host/board.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/host/board.c b/board/host/board.c
index 25abd9a0ad..2253475dde 100644
--- a/board/host/board.c
+++ b/board/host/board.c
@@ -75,7 +75,7 @@ const struct i2c_port_t i2c_ports[] = {
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
#endif
-#ifdef CONFIG_SPI_MASTER
+#ifdef CONFIG_SPI_CONTROLLER
/* SPI devices */
const struct spi_device_t spi_devices[] = {
/* Fingerprint sensor (SCLK at 4Mhz) */
diff --git a/board/host/board.h b/board/host/board.h
index 30c2bb8e29..8f34a22b4d 100644
--- a/board/host/board.h
+++ b/board/host/board.h
@@ -81,7 +81,7 @@ enum {
#define PD_MIN_POWER_MW 7500
/* Configuration for fake Fingerprint Sensor */
-#define CONFIG_SPI_MASTER
+#define CONFIG_SPI_CONTROLLER
#define CONFIG_SPI_FP_PORT 1 /* SPI1: third master config */
#define CONFIG_RNG