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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/clock.c b/chip/npcx/clock.c
index ad611973be..4656e83a52 100644
--- a/chip/npcx/clock.c
+++ b/chip/npcx/clock.c
@@ -422,7 +422,7 @@ void __idle(void)
* CSAE bit is set. Please notice this symptom only
* occurs at npcx5.
*/
-#if defined(CHIP_FAMILY_NPCX5) && defined(CONFIG_HOSTCMD_ESPI)
+#if defined(CHIP_FAMILY_NPCX5) && defined(CONFIG_HOST_INTERFACE_ESPI)
/* Enable Host access wakeup */
SET_BIT(NPCX_WKEN(MIWU_TABLE_0, MIWU_GROUP_5), 6);
#endif
@@ -499,7 +499,7 @@ static int command_dsleep(int argc, char **argv)
}
}
- ccprintf("Sleep mask: %08x\n", sleep_mask);
+ ccprintf("Sleep mask: %08x\n", (int)sleep_mask);
ccprintf("Console in use timeout: %d sec\n",
console_in_use_timeout_sec);
ccprintf("PMCSR register: 0x%02x\n", NPCX_PMCSR);