From 541de8a5a37ad35aa6eb7b4d641ef7df377f90e0 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Mon, 7 Mar 2016 13:25:00 -0800 Subject: npcx: Rename CONFIG_SHI to CONFIG_HOSTCMD_SPS CONFIG_SHI ("SPI host interface") has identical meaning to CONFIG_HOSTCMD_SPS ("Accept EC host commands over the SPI slave"). Use CONFIG_HOSTCMD_SPS, since it came first and is already defined in config.h. BUG=chrome-os-partner:50819 BRANCH=None TEST=`make buildall -j` Signed-off-by: Shawn Nematbakhsh Change-Id: I665c405ad72caa3b84e583a80c0893e4c625632a Reviewed-on: https://chromium-review.googlesource.com/331342 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Randall Spangler --- chip/npcx/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chip/npcx/gpio.c') diff --git a/chip/npcx/gpio.c b/chip/npcx/gpio.c index bd310b214f..9dae6d0f6f 100644 --- a/chip/npcx/gpio.c +++ b/chip/npcx/gpio.c @@ -679,7 +679,7 @@ void gpio_pre_init(void) #endif /* Pin_Mux for LPC & SHI */ -#ifdef CONFIG_SHI +#ifdef CONFIG_HOSTCMD_SPS /* Switching to eSPI mode for SHI interface */ NPCX_DEVCNT |= 0x08; /* Alternate Intel bus interface LPC/eSPI to GPIOs first */ -- cgit v1.2.1