summaryrefslogtreecommitdiff
path: root/board/kodama
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@chromium.org>2019-09-11 22:45:22 +0000
committerCommit Bot <commit-bot@chromium.org>2019-09-17 14:54:36 +0000
commitc1edf25f4d3000529994be1ac1af166c69df47a3 (patch)
treeb24e5a6e6f1ea77d8ff1663e1395a0acbcbac615 /board/kodama
parent5e333117e96fd78d48fc1be632c43e8bcb6d9df5 (diff)
downloadchrome-ec-c1edf25f4d3000529994be1ac1af166c69df47a3.tar.gz
kukui: remove virtual battery for devices with smart battery
CONFIG_I2C_VIRTUAL_BATTERY/CONFIG_I2C_PASSTHRU_RESTRICTED is for devices with dumb battery to simulate smart battery interface. Remove these flags for devices with smart battery. BUG=b:140847169 TEST=ectool i2cread 8 1 0x16 <reg>, where reg = 0x00~0x03 BRANCH=master Change-Id: I6088f66596e626f62320ee4ab181e972016aa80c Signed-off-by: Ting Shen <phoenixshen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1799289 Reviewed-by: Xiong Huang <xiong.huang@bitland.corp-partner.google.com> Reviewed-by: Yilun Lin <yllin@chromium.org> Tested-by: Xiong Huang <xiong.huang@bitland.corp-partner.google.com> Commit-Queue: Sean Abraham <seanabraham@chromium.org>
Diffstat (limited to 'board/kodama')
-rw-r--r--board/kodama/board.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/kodama/board.h b/board/kodama/board.h
index b32512c2b2..8ccb962edb 100644
--- a/board/kodama/board.h
+++ b/board/kodama/board.h
@@ -54,7 +54,6 @@
#define I2C_PORT_TCPC0 0
#define I2C_PORT_USB_MUX 0
#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. */