summaryrefslogtreecommitdiff
path: root/chip/npcx/gpio.c
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-08-03 11:58:05 -0600
committerCommit Bot <commit-bot@chromium.org>2021-08-03 21:42:19 +0000
commit34eabe36d503fc9a3128c3710a19cee8ee5df0bd (patch)
tree9e92e47dc2f0dcb9759cd6f509cbf8a462867923 /chip/npcx/gpio.c
parentfe82812283a6a4001bddc5aeea9e6b4f184cd17a (diff)
downloadchrome-ec-34eabe36d503fc9a3128c3710a19cee8ee5df0bd.tar.gz
COIL: Change host interface option to CONFIG_HOSTCMD_SHI
Update SPI host interface config option for inclusive language. BUG=b:163885307 BRANCH=none TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I808d5960fa3e746626465bedc626a95e0f0aaa3f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3066271 Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'chip/npcx/gpio.c')
-rw-r--r--chip/npcx/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/gpio.c b/chip/npcx/gpio.c
index fece08c0f4..e740f0aa9f 100644
--- a/chip/npcx/gpio.c
+++ b/chip/npcx/gpio.c
@@ -560,7 +560,7 @@ void gpio_pre_init(void)
#endif
/* Pin_Mux for LPC & SHI */
-#ifdef CONFIG_HOSTCMD_SPS
+#ifdef CONFIG_HOSTCMD_SHI
/* Switching to eSPI mode for SHI interface */
NPCX_DEVCNT |= 0x08;
/* Alternate Intel bus interface LPC/eSPI to GPIOs first */