summaryrefslogtreecommitdiff
path: root/board/glados/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/glados/board.c')
-rw-r--r--board/glados/board.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/glados/board.c b/board/glados/board.c
index 7c62e36939..1f88043cc4 100644
--- a/board/glados/board.c
+++ b/board/glados/board.c
@@ -36,7 +36,6 @@
/* Default input current limit when VBUS is present */
#define DEFAULT_CURR_LIMIT 500 /* mA */
-#define USB_BC12_CHARGE_VOLTAGE 5000 /* mV */
/* Exchange status with PD MCU. */
static void pd_mcu_interrupt(enum gpio_signal signal)
@@ -99,19 +98,6 @@ const struct i2c_port_t i2c_ports[] = {
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
-/* Charge supplier priority: lower number indicates higher priority. */
-const int supplier_priority[] = {
- [CHARGE_SUPPLIER_PD] = 0,
- [CHARGE_SUPPLIER_TYPEC] = 1,
- [CHARGE_SUPPLIER_PROPRIETARY] = 1,
- [CHARGE_SUPPLIER_BC12_DCP] = 1,
- [CHARGE_SUPPLIER_BC12_CDP] = 2,
- [CHARGE_SUPPLIER_BC12_SDP] = 3,
- [CHARGE_SUPPLIER_OTHER] = 3,
- [CHARGE_SUPPLIER_VBUS] = 4
-};
-BUILD_ASSERT(ARRAY_SIZE(supplier_priority) == CHARGE_SUPPLIER_COUNT);
-
/**
* Discharge battery when on AC power for factory test.
*/