summaryrefslogtreecommitdiff
path: root/chip/stm32/i2c-stm32l.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-10-24 11:18:47 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-25 01:32:15 +0000
commitdf541c6ffdc3ecf2802bad1c235e730cd29f8bfb (patch)
tree5de1078e831ec5e3f3f7437b6e5e8c96b4156a69 /chip/stm32/i2c-stm32l.c
parent4a1ecb67f9ff1745422aecdd5cc70a9f630d7dc8 (diff)
downloadchrome-ec-df541c6ffdc3ecf2802bad1c235e730cd29f8bfb.tar.gz
cleanup: rename I2C_PORT_HOST to I2C_PORT_MASTER
Previously, it was really confusing whether I2C_PORT_HOST meant the port where the EC was the master, or the port used to talk to the AP. No functional changes, just a global find/replace and some tidying of unused comments. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms; pass unit tests Change-Id: Ia591ba4577d3399729556e0234ba0db3a0e3c5ea Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174546 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'chip/stm32/i2c-stm32l.c')
-rw-r--r--chip/stm32/i2c-stm32l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/i2c-stm32l.c b/chip/stm32/i2c-stm32l.c
index 8e02f693cd..5b4f05fed5 100644
--- a/chip/stm32/i2c-stm32l.c
+++ b/chip/stm32/i2c-stm32l.c
@@ -534,7 +534,7 @@ DECLARE_HOOK(HOOK_INIT, i2c_init, HOOK_PRIO_DEFAULT);
static int command_i2cdump(int argc, char **argv)
{
- dump_i2c_reg(I2C_PORT_HOST, "dump");
+ dump_i2c_reg(I2C_PORT_MASTER, "dump");
return EC_SUCCESS;
}
DECLARE_CONSOLE_COMMAND(i2cdump, command_i2cdump,