summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-05-21 10:22:55 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-05-22 21:56:40 -0700
commit8f6fff795bdfff6e98395b5aa3fc9127fa5748c1 (patch)
treecc9cb57f2b69300975b4691c3fcd329e77c831d5 /common/main.c
parentdf06639b1d4fd2798e577f9aead6bc4495d5f3b5 (diff)
downloadchrome-ec-8f6fff795bdfff6e98395b5aa3fc9127fa5748c1.tar.gz
lpc/espi: convert remaning CONFIG_LPC to CONFIG_HOSTCMD_X86
We have converted all LPC-only configs to HOSTCMD_LPC so the remaining CONFIG_LPC defines represent the common case. BRANCH=none BUG=chromium:818804 TEST=Full stack builds and works on yorp (espi) and grunt (lpc) Change-Id: Iba9a48f2cab12fadd0d9ab8eab0d5d5476eab238 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1067503 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index 58f01812ef..6adea9b049 100644
--- a/common/main.c
+++ b/common/main.c
@@ -160,7 +160,7 @@ test_mockable __keep int main(void)
* done, lpc always report mask needs to be initialized
* correctly.
*/
-#ifdef CONFIG_LPC
+#ifdef CONFIG_HOSTCMD_X86
lpc_init_mask();
#endif
#ifdef HAS_TASK_KEYSCAN