summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/main.c4
-rw-r--r--common/power_button_x86.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index e60a57f6bc..269781f9f6 100644
--- a/common/main.c
+++ b/common/main.c
@@ -111,6 +111,10 @@ test_mockable int main(void)
CPRINTF("[Image: %s, %s]\n",
system_get_image_copy_string(), system_get_build_info());
+#ifdef CONFIG_BRINGUP
+ ccprintf("\n\nWARNING: BRINGUP BUILD\n\n\n");
+#endif
+
#ifdef CONFIG_WATCHDOG
/*
* Intialize watchdog timer. All lengthy operations between now and
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
}
}