diff options
author | Furquan Shaikh <furquan@google.com> | 2018-07-25 22:38:11 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-27 08:50:53 -0700 |
commit | 8f243ce8444e5cf1d98e52849f1e3742db77db7b (patch) | |
tree | 13cf4b862f786dd3850944fd4cd9caabf8c092df /board/fizz | |
parent | a7b3c658db84073b0af5e3907515ecac6c93589a (diff) | |
download | chrome-ec-8f243ce8444e5cf1d98e52849f1e3742db77db7b.tar.gz |
espi: Rename CONFIG_HOSTCMD_ESPI_VW_SIGNALS to CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS
This change renames CONFIG_HOSTCMD_ESPI_VW_SIGNALS to
CONFIG_HOSTCMD_ESPI_VW_SIGNALS in order to make it clear that this
config option indicates that chipset sleep signals (SLP_S3 and SLP_S4)
are tranmitted over virtual wires instead of physical lines with eSPI.
BUG=b:111859300
BRANCH=None
TEST=make -j buildall
Change-Id: Iab4423abc9102164d4f43296a279c24355445341
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1151048
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/fizz')
-rw-r--r-- | board/fizz/board.c | 2 | ||||
-rw-r--r-- | board/fizz/board.h | 6 | ||||
-rw-r--r-- | board/fizz/gpio.inc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/board/fizz/board.c b/board/fizz/board.c index 7e4135be47..fdc4a5620e 100644 --- a/board/fizz/board.c +++ b/board/fizz/board.c @@ -126,7 +126,7 @@ void vbus0_evt(enum gpio_signal signal) /* power signal list. Must match order of enum power_signal. */ const struct power_signal_info power_signal_list[] = { {GPIO_PCH_SLP_S0_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S0_DEASSERTED"}, -#ifdef CONFIG_HOSTCMD_ESPI_VW_SIGNALS +#ifdef CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS {VW_SLP_S3_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S3_DEASSERTED"}, {VW_SLP_S4_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S4_DEASSERTED"}, #else diff --git a/board/fizz/board.h b/board/fizz/board.h index 30b2ef8276..fd6646fec1 100644 --- a/board/fizz/board.h +++ b/board/fizz/board.h @@ -68,10 +68,10 @@ #define CONFIG_HOSTCMD_ESPI /* * Eve and Poppy all have wires from GPIO to PCH but - * CONFIG_HOSTCMD_ESPI_VW_SIGNALS is defined. So, those GPIOs are not used by - * EC. + * CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS is defined. So, those GPIOs are not used + * by EC. */ -#define CONFIG_HOSTCMD_ESPI_VW_SIGNALS +#define CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS /* Charger */ #define CONFIG_CHARGE_MANAGER diff --git a/board/fizz/gpio.inc b/board/fizz/gpio.inc index b5c2087d20..c762876b29 100644 --- a/board/fizz/gpio.inc +++ b/board/fizz/gpio.inc @@ -14,7 +14,7 @@ GPIO_INT(POWER_BUTTON_L, PIN(0, 4), GPIO_INT_BOTH | GPIO_PULL_UP, power_button_i GPIO_INT(PCH_SLP_S0_L, PIN(7, 5), GPIO_INT_BOTH, power_signal_interrupt) /* Use VW signals instead of GPIOs */ -#ifndef CONFIG_HOSTCMD_ESPI_VW_SIGNALS +#ifndef CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS GPIO_INT(PCH_SLP_S3_L, PIN(7, 3), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(PCH_SLP_S4_L, PIN(8, 6), GPIO_INT_BOTH, power_signal_interrupt) #endif |