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 /core/cortex-m/task.c | |
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 'core/cortex-m/task.c')
-rw-r--r-- | core/cortex-m/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/task.c b/core/cortex-m/task.c index 75e54f6633..4d47041e8a 100644 --- a/core/cortex-m/task.c +++ b/core/cortex-m/task.c @@ -75,7 +75,7 @@ void __idle(void) * CSAE bit is set. Please notice this symptom only * occurs at npcx5. */ -#if defined(CHIP_FAMILY_NPCX5) && defined(CONFIG_ESPI) +#if defined(CHIP_FAMILY_NPCX5) && defined(CONFIG_HOSTCMD_ESPI) /* Enable Host access wakeup */ SET_BIT(NPCX_WKEN(MIWU_TABLE_0, MIWU_GROUP_5), 6); #endif |