summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/shuboz/board.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/shuboz/board.h b/board/shuboz/board.h
index bc029b5cd2..7832458f85 100644
--- a/board/shuboz/board.h
+++ b/board/shuboz/board.h
@@ -42,7 +42,12 @@
#define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL
#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL
-
+/*
+ * Jelboz's battery takes several seconds to come back out of its disconnect
+ * state (~4 seconds on the unit I have, so give it a little more for margin).
+ */
+#undef CONFIG_POWER_BUTTON_INIT_TIMEOUT
+#define CONFIG_POWER_BUTTON_INIT_TIMEOUT 5
/* GPIO mapping from board specific name to EC common name. */
#define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL