diff options
Diffstat (limited to 'board/fizz')
-rw-r--r-- | board/fizz/board.c | 2 | ||||
-rw-r--r-- | board/fizz/board.h | 9 | ||||
-rw-r--r-- | board/fizz/gpio.inc | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/board/fizz/board.c b/board/fizz/board.c index e74908a6a5..15d550d680 100644 --- a/board/fizz/board.c +++ b/board/fizz/board.c @@ -122,7 +122,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_ESPI_VW_SIGNALS +#ifdef CONFIG_HOSTCMD_ESPI_VW_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 f10bbc8162..f749682e7e 100644 --- a/board/fizz/board.h +++ b/board/fizz/board.h @@ -65,9 +65,12 @@ #define CONFIG_CHIPSET_HAS_PRE_INIT_CALLBACK #define CONFIG_CHIPSET_RESET_HOOK #define CONFIG_HOSTCMD_ESPI -/* Eve and Poppy all have wires from GPIO to PCH but CONFIG_ESPI_VW_SIGNALS - * is defined. So, those GPIOs are not used by EC. */ -#define CONFIG_ESPI_VW_SIGNALS +/* + * 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. + */ +#define CONFIG_HOSTCMD_ESPI_VW_SIGNALS /* Charger */ #define CONFIG_CHARGE_MANAGER diff --git a/board/fizz/gpio.inc b/board/fizz/gpio.inc index 75c7130bf5..b5c2087d20 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_ESPI_VW_SIGNALS +#ifndef CONFIG_HOSTCMD_ESPI_VW_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 |