summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMulin Chao <mlchao@nuvoton.com>2015-11-20 16:13:16 +0800
committerchrome-bot <chrome-bot@chromium.org>2015-12-01 01:11:13 -0800
commite803e811147212bfea43ad62bfe9d9ed293c8f8b (patch)
treece5f47314e91bb47ab72e675415731d4092c2a32 /driver
parent70915b501249017e4e962316bf178fd00d09e696 (diff)
downloadchrome-ec-e803e811147212bfea43ad62bfe9d9ed293c8f8b.tar.gz
nuc: Add i2cscan and kbpress commands for FAFT.
Add i2cscan and kbpress commands for FAFT. Remove unnecessary i2c reading since there is no race condition. Bugs fixed: Fixed i2c_read_string bug since we shouldn't enable NACK if flag doesn't contain I2C_XFER_STOP. Fixed i2c_unwedge bug since the parameter should be port not controller. Fixed state machine bug since we should restore bus state back to idle if bus encountered timeout. Modified drivers: 1. board.h: Add i2cscan and kbpress commands for FAFT. 2. i2c.c: Remove unnecessary reading since there is no race condition. 3. i2c.c: Fixed i2c_read_string and i2c_unwedge bugs. 4. i2c.c: Restore to idle state if bus encountered timeout. 5. board.h: Add CONFIG_LOW_POWER_IDLE for better power consumption. BUG=chrome-os-partner:34346 TEST=make buildall -j; test nuvoton IC specific drivers BRANCH=none Change-Id: I98974f852cbbaec270c697feb8016b52550005bc Signed-off-by: Mulin Chao <mlchao@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/313393 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions