diff options
Diffstat (limited to 'board/kodama/board.h')
-rw-r--r-- | board/kodama/board.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/board/kodama/board.h b/board/kodama/board.h index cf71fe5dd2..d6d7a329b1 100644 --- a/board/kodama/board.h +++ b/board/kodama/board.h @@ -28,12 +28,6 @@ #define CONFIG_BATTERY_HW_PRESENT_CUSTOM -#define CONFIG_I2C_BITBANG -#define I2C_BITBANG_PORT_COUNT 1 -#undef CONFIG_I2C_NACK_RETRY_COUNT -#define CONFIG_I2C_NACK_RETRY_COUNT 3 -#define CONFIG_SMBUS_PEC - /* Battery */ #define BATTERY_DESIRED_CHARGING_CURRENT 2000 /* mA */ @@ -58,9 +52,9 @@ #define I2C_PORT_CHARGER 0 #define I2C_PORT_TCPC0 0 #define I2C_PORT_USB_MUX 0 -#define I2C_PORT_ACCEL 1 -#define I2C_PORT_BATTERY board_get_battery_i2c() +#define I2C_PORT_BATTERY 1 #define I2C_PORT_VIRTUAL_BATTERY I2C_PORT_BATTERY +#define I2C_PORT_ACCEL 1 /* Define the host events which are allowed to wakeup AP in S3. */ #define CONFIG_MKBP_HOST_EVENT_WAKEUP_MASK \ @@ -119,8 +113,6 @@ int board_get_version(void); int board_is_sourcing_vbus(int port); void pogo_adc_interrupt(enum gpio_signal signal); int board_discharge_on_ac(int enable); -/* returns the i2c port number of battery */ -int board_get_battery_i2c(void); #endif /* !__ASSEMBLER__ */ |