summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-07-02 20:47:30 -0700
committerGerrit <chrome-bot@google.com>2012-07-05 19:45:16 -0700
commitc1a2ba7caddd7b17362b7630dc10b8e0dcdeb742 (patch)
treec48665ee1e154e28edb894fec6edf3694dce42bd
parent4ad3fb514a5d104769f3601ee00770e6164b2fdb (diff)
downloadchrome-ec-c1a2ba7caddd7b17362b7630dc10b8e0dcdeb742.tar.gz
snow: Enable I2C bus arbitration on host port
Enable this feature so that we can be a bus master on the I2C host port when the AP is not using it. BUG=chrome-os-partner:10888 TEST=manual: build for all boards boot on snow, test that: - keyboard still works in U-Boot - battery charging is enabled - U-Boot can see TPSCHROME - keyboard works in kernel - kernel reports battery levels correctly Change-Id: Ie17e38feea721355a738d85f0295ed5f145c8a0c Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/26826 Reviewed-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r--board/snow/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/snow/board.h b/board/snow/board.h
index 2017404e19..93a88ce420 100644
--- a/board/snow/board.h
+++ b/board/snow/board.h
@@ -53,6 +53,7 @@
#define I2C_PORT_BATTERY I2C_PORT_HOST
#define I2C_PORT_CHARGER I2C_PORT_HOST
#define I2C_PORT_SLAVE 1
+#define CONFIG_ARBITRATE_I2C I2C_PORT_HOST
/* GPIO signal list */
enum gpio_signal {