summaryrefslogtreecommitdiff
path: root/chip/npcx/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/system.c')
-rw-r--r--chip/npcx/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index 5abf8d408d..c3cace0fb9 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -691,7 +691,7 @@ void system_pre_init(void)
pwdwn6 = 0x70 |
(1 << NPCX_PWDWN_CTL6_ITIM6_PD) |
(1 << NPCX_PWDWN_CTL6_ITIM4_PD); /* Skip ITIM5_PD */
-#if !defined(CONFIG_ESPI)
+#if !defined(CONFIG_HOSTCMD_ESPI)
pwdwn6 |= 1 << NPCX_PWDWN_CTL6_ESPI_PD;
#endif
NPCX_PWDWN_CTL(NPCX_PMC_PWDWN_6) = pwdwn6;