diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h index c84186620f..4ae871112f 100644 --- a/include/config.h +++ b/include/config.h @@ -86,10 +86,22 @@ #undef CONFIG_BATTERY_MOCK /* - * Battery can check if it's connected. If defined, charger will check for - * battery presence before attempting to communicate with it. + * If defined, the charger will check for battery presence before attempting + * to communicate with it. This avoids the 30 second delay when booting + * without a battery present. Do not use with CONFIG_BATTERY_PRESENT_GPIO. + * + * Replace the default battery_is_present() function with a board-specific + * implementation in board.c + */ +#undef CONFIG_BATTERY_PRESENT_CUSTOM + +/* + * If defined, GPIO which is driven low when battery is present. + * Charger will check for battery presence before attempting to communicate + * with it. This avoids the 30 second delay when booting without a battery + * present. Do not use with CONFIG_BATTERY_PRESENT_CUSTOM. */ -#undef CONFIG_BATTERY_CHECK_CONNECTED +#undef CONFIG_BATTERY_PRESENT_GPIO /* * Compile smart battery support |