summaryrefslogtreecommitdiff
path: root/board/swanky/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/swanky/board.h')
-rw-r--r--board/swanky/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/swanky/board.h b/board/swanky/board.h
index 6d59a33ee4..9c83159942 100644
--- a/board/swanky/board.h
+++ b/board/swanky/board.h
@@ -11,6 +11,7 @@
/* Optional features */
#define CONFIG_AP_HANG_DETECT
#define CONFIG_BACKLIGHT_LID
+#define CONFIG_BATTERY_PRESENT_GPIO GPIO_BAT_PRESENT_L
#define CONFIG_BATTERY_SMART
#define CONFIG_BOARD_VERSION
#define CONFIG_CHARGER
@@ -96,6 +97,7 @@ enum gpio_signal {
GPIO_PP1000_S0IX_PGOOD, /* Power good on 1.00V (S0iX supplies) */
GPIO_USB1_OC_L, /* USB port overcurrent warning */
GPIO_USB2_OC_L, /* USB port overcurrent warning */
+ GPIO_BAT_PRESENT_L, /* Battery present. Repurposed BAT_TEMP */
/* Outputs */
GPIO_CPU_PROCHOT, /* Force CPU to think it's overheated */