summaryrefslogtreecommitdiff
path: root/common/power_button_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/power_button_x86.c')
-rw-r--r--common/power_button_x86.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/power_button_x86.c b/common/power_button_x86.c
index dc035fbb5b..539bfce347 100644
--- a/common/power_button_x86.c
+++ b/common/power_button_x86.c
@@ -214,8 +214,13 @@ static void set_initial_pwrbtn_state(void)
* All other EC reset conditions power on the main processor so
* it can verify the EC.
*/
+#ifdef CONFIG_BRINGUP
+ CPRINTS("PB idle");
+ pwrbtn_state = PWRBTN_STATE_IDLE;
+#else
CPRINTS("PB init-on");
pwrbtn_state = PWRBTN_STATE_INIT_ON;
+#endif
}
}