diff options
Diffstat (limited to 'chip/npcx/gpio.c')
-rw-r--r-- | chip/npcx/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/gpio.c b/chip/npcx/gpio.c index 759d6fbbd8..397d87b501 100644 --- a/chip/npcx/gpio.c +++ b/chip/npcx/gpio.c @@ -511,7 +511,7 @@ void gpio_pre_init(void) * * Make sure to set up the timer before using udelay(). */ - if (system_get_reset_flags() & RESET_FLAG_POWER_ON) { + if (system_get_reset_flags() & EC_RESET_FLAG_POWER_ON) { __hw_early_init_hwtimer(0); udelay(CONFIG_GPIO_INIT_POWER_ON_DELAY_MS * MSEC); } |