summaryrefslogtreecommitdiff
path: root/baseboard/brya/battery_presence.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/brya/battery_presence.c')
-rw-r--r--baseboard/brya/battery_presence.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/baseboard/brya/battery_presence.c b/baseboard/brya/battery_presence.c
index 4fc8060de6..8efda188ed 100644
--- a/baseboard/brya/battery_presence.c
+++ b/baseboard/brya/battery_presence.c
@@ -14,12 +14,6 @@
static enum battery_present batt_pres_prev = BP_NOT_SURE;
-enum battery_present battery_hw_present(void)
-{
- /* The GPIO is low when the battery is physically present */
- return gpio_get_level(GPIO_EC_BATT_PRES_ODL) ? BP_NO : BP_YES;
-}
-
__overridable bool board_battery_is_initialized(void)
{
int batt_status;