diff options
author | Jett Rink <jettrink@chromium.org> | 2018-05-21 10:22:55 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-22 21:56:39 -0700 |
commit | df06639b1d4fd2798e577f9aead6bc4495d5f3b5 (patch) | |
tree | 060bf073cf3e24c75ffb78aa62855cc28c089c42 /board | |
parent | fddf4e703d8673b8ea62f81c8aba3943cfeffea5 (diff) | |
download | chrome-ec-df06639b1d4fd2798e577f9aead6bc4495d5f3b5.tar.gz |
lpc/espi: convert ec chip code to use granular option
Break the ec chip code up with the more granular
CONFIG_HOSTCMD_(X86|LPC|ESPI) options.
BRANCH=none
BUG=chromium:818804
TEST=Full stack builds and works on yorp (espi) and grunt (lpc)
Change-Id: Ie272787b2425175fe36b06fcdeeee90ec5ccbe95
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1067502
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/mchpevb1/gpio.inc | 2 | ||||
-rw-r--r-- | board/wheatley/board.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/mchpevb1/gpio.inc b/board/mchpevb1/gpio.inc index 2b4fa4b8fb..360f09e037 100644 --- a/board/mchpevb1/gpio.inc +++ b/board/mchpevb1/gpio.inc @@ -24,7 +24,7 @@ #define GPIO_BOTH_EDGES_PU (GPIO_INT_BOTH | GPIO_PULL_UP) -/* Only needed if CONFIG_ESPI is not set, using LPC interface to PCH */ +/* Only needed if CONFIG_HOSTCMD_ESPI is not set, using LPC interface to PCH */ #ifndef CONFIG_ESPI_PLTRST_IS_VWIRE GPIO_INT(PCH_PLTRST_L, PIN(064), GPIO_BOTH_EDGES_PU, lpcrst_interrupt) #endif diff --git a/board/wheatley/board.h b/board/wheatley/board.h index caa3838a3d..ffd4e98f97 100644 --- a/board/wheatley/board.h +++ b/board/wheatley/board.h @@ -150,7 +150,7 @@ #undef CONFIG_CMD_PWR_AVG /* Features of eSPI */ -#undef CONFIG_ESPI /* Use eSPI protocol for host interface of x86 CPU */ +#undef CONFIG_HOSTCMD_ESPI #undef CONFIG_ESPI_VW_SIGNALS /* Use VW signals instead of GPIOs */ #ifndef __ASSEMBLER__ |