summaryrefslogtreecommitdiff
path: root/chip/npcx/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/clock.c')
-rw-r--r--chip/npcx/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/clock.c b/chip/npcx/clock.c
index 9c7199d983..6ba326645f 100644
--- a/chip/npcx/clock.c
+++ b/chip/npcx/clock.c
@@ -382,7 +382,7 @@ void __idle(void)
* CSAE bit is set. Please notice this symptom only
* occurs at npcx5.
*/
-#if defined(CHIP_FAMILY_NPCX5)
+#if defined(CHIP_FAMILY_NPCX5) && defined(CONFIG_ESPI)
/* Enable Host access wakeup */
SET_BIT(NPCX_WKEN(MIWU_TABLE_0, MIWU_GROUP_5), 6);
#endif