summaryrefslogtreecommitdiff
path: root/board/kodama/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/kodama/board.c')
-rw-r--r--board/kodama/board.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/kodama/board.c b/board/kodama/board.c
index f68127a9cc..6a21ca0847 100644
--- a/board/kodama/board.c
+++ b/board/kodama/board.c
@@ -24,7 +24,6 @@
#include "hooks.h"
#include "host_command.h"
#include "i2c.h"
-#include "i2c_bitbang.h"
#include "lid_switch.h"
#include "power.h"
#include "power_button.h"
@@ -68,11 +67,6 @@ const struct i2c_port_t i2c_ports[] = {
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
-const struct i2c_port_t i2c_bitbang_ports[] = {
- {"battery", 2, 100, GPIO_I2C3_SCL, GPIO_I2C3_SDA, .drv = &bitbang_drv},
-};
-const unsigned int i2c_bitbang_ports_used = ARRAY_SIZE(i2c_bitbang_ports);
-
/* power signal list. Must match order of enum power_signal. */
const struct power_signal_info power_signal_list[] = {
{GPIO_AP_IN_SLEEP_L, POWER_SIGNAL_ACTIVE_LOW, "AP_IN_S3_L"},
@@ -377,8 +371,3 @@ void board_fill_source_power_info(int port,
r->meas.current_lim = 1500;
r->max_power = r->meas.voltage_now * r->meas.current_max;
}
-
-int board_get_battery_i2c(void)
-{
- return board_get_version() >= 2 ? 2 : 1;
-}