summaryrefslogtreecommitdiff
path: root/board/kodama/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/kodama/board.c')
-rw-r--r--board/kodama/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kodama/board.c b/board/kodama/board.c
index 54a2ffd9a9..1e778410cb 100644
--- a/board/kodama/board.c
+++ b/board/kodama/board.c
@@ -196,7 +196,7 @@ int pd_snk_is_vbus_provided(int port)
static void board_init(void)
{
/* If the reset cause is external, pulse PMIC force reset. */
- if (system_get_reset_flags() == RESET_FLAG_RESET_PIN) {
+ if (system_get_reset_flags() == EC_RESET_FLAG_RESET_PIN) {
gpio_set_level(GPIO_PMIC_FORCE_RESET_ODL, 0);
msleep(100);
gpio_set_level(GPIO_PMIC_FORCE_RESET_ODL, 1);