diff options
author | Rong Chang <rongchang@chromium.org> | 2012-06-30 17:47:30 +0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-01 15:45:09 -0700 |
commit | f4297440050a9fcedad96645ae9ee1606f61bbd0 (patch) | |
tree | 01905d1a17a32370e098601ef62f296d66d92ab1 /board/snow | |
parent | 6900449d0c4b40d2a12b74bc495fe441e18069e8 (diff) | |
download | chrome-ec-f4297440050a9fcedad96645ae9ee1606f61bbd0.tar.gz |
Fix multiple charging issues on snow
This change fixes mutiple snow charging issues. Including:
- disable i2c host auto selection
- i2c_read8 got wrong output value
- pmu CHARGE_EN control workaround
Signed-off-by: Rong Chang <rongchang@chromium.org>
BUG=chrome-os-partner:11010
TEST=Only test on snow dvt with AP turned off
plug/unplug ac adapter and check charging led
check console command 'battery'
Change-Id: I29d554b3daa4cfc538bd5bf5ba5233976d381861
Reviewed-on: https://gerrit.chromium.org/gerrit/26529
Tested-by: Rong Chang <rongchang@chromium.org>
Commit-Ready: Rong Chang <rongchang@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/snow')
-rw-r--r-- | board/snow/board.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/snow/board.h b/board/snow/board.h index 605a9f93bb..15db5a64d7 100644 --- a/board/snow/board.h +++ b/board/snow/board.h @@ -44,8 +44,9 @@ /* Charging */ #define CONFIG_SMART_BATTERY #define CONFIG_PMU_TPS65090 -#define CONFIG_I2C_HOST_AUTO -#define I2C_PORT_HOST board_i2c_host_port() +/* #define CONFIG_I2C_HOST_AUTO */ +/* #define I2C_PORT_HOST board_i2c_host_port() */ +#define I2C_PORT_HOST 1 #define I2C_PORT_BATTERY I2C_PORT_HOST #define I2C_PORT_CHARGER I2C_PORT_HOST #define I2C_PORT_SLAVE 1 |