diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2019-10-25 16:09:58 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-30 20:13:01 +0000 |
commit | 8741abc79b0fd4d94873d96f28e423401dae75b3 (patch) | |
tree | f7ab12c0e36b3c65b87a65d8c277ec8e5c23537a /board/mchpevb1/gpio.inc | |
parent | 9e2fc248a49d7c4ee7f6bf030586a5adf584052f (diff) | |
download | chrome-ec-8741abc79b0fd4d94873d96f28e423401dae75b3.tar.gz |
PCH_PLTRST_L: Use appropriate config option
Define a GPIO for PCH_PLTRST_L based on CONFIG_HOSTCMD_ESPI, because
that is the configuration option used to enable to use of the the GPIO
signal name thus defined. Remove the now unused
CONFIG_HOSTCMD_PLTRST_IS_VWIRE option.
BUG=b:139553375,b:143288478
TEST=Build it83xx_evb, reef_it8320, and tglrvpu_ite
BRANCH=none
Change-Id: Ia0dbfee0c6c2eda566e79cad7ab6e0c685809c05
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1881756
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/mchpevb1/gpio.inc')
-rw-r--r-- | board/mchpevb1/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mchpevb1/gpio.inc b/board/mchpevb1/gpio.inc index e73d7a28c8..f3341b959a 100644 --- a/board/mchpevb1/gpio.inc +++ b/board/mchpevb1/gpio.inc @@ -25,7 +25,7 @@ #define GPIO_BOTH_EDGES_PU (GPIO_INT_BOTH | GPIO_PULL_UP) /* Only needed if CONFIG_HOSTCMD_ESPI is not set, using LPC interface to PCH */ -#ifndef CONFIG_HOSTCMD_ESPI_PLTRST_IS_VWIRE +#ifndef CONFIG_HOSTCMD_ESPI GPIO_INT(PCH_PLTRST_L, PIN(064), GPIO_BOTH_EDGES_PU, lpcrst_interrupt) #endif |