diff options
Diffstat (limited to 'chip/npcx/system-npcx7.c')
-rw-r--r-- | chip/npcx/system-npcx7.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/npcx/system-npcx7.c b/chip/npcx/system-npcx7.c index 6b0e5157ea..9e461c5a1b 100644 --- a/chip/npcx/system-npcx7.c +++ b/chip/npcx/system-npcx7.c @@ -7,6 +7,7 @@ #include "common.h" #include "console.h" #include "cpu.h" +#include "ec_commands.h" #include "hooks.h" #include "registers.h" #include "system.h" @@ -165,7 +166,7 @@ void __hibernate_npcx_series(void) #if defined(CONFIG_HIBERNATE_PSL) static void report_psl_wake_source(void) { - if (!(system_get_reset_flags() & RESET_FLAG_HIBERNATE)) + if (!(system_get_reset_flags() & EC_RESET_FLAG_HIBERNATE)) return; CPRINTS("PSL_CTS: 0x%x", NPCX_GLUE_PSL_CTS & 0xf); |