summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-11-24 13:59:13 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-30 16:52:14 +0000
commit171046ab529d027a10475c12a0b6dc1b0d053c33 (patch)
treed3569debfac29e21afb8d953924144d2bd282e20
parent529312de85aa8ec53dc3a4fcf1f6249b8195a1cb (diff)
downloadchrome-ec-171046ab529d027a10475c12a0b6dc1b0d053c33.tar.gz
COIL: Rename common i2c_peripheral file
Rename i2c_peripheral.c and update related build file. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ibd72d3b20b0cc1c07d426fbcf4d76cfb2644bc54 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2558904 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--common/build.mk2
-rw-r--r--common/i2c_peripheral.c (renamed from common/i2c_slave.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/build.mk b/common/build.mk
index fea6b874bc..d8a55f5be9 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -86,7 +86,7 @@ common-$(CONFIG_HOSTCMD_RTC)+=rtc.o
common-$(CONFIG_I2C_DEBUG)+=i2c_trace.o
common-$(CONFIG_I2C_HID_TOUCHPAD)+=i2c_hid_touchpad.o
common-$(CONFIG_I2C_CONTROLLER)+=i2c_master.o
-common-$(CONFIG_I2C_PERIPHERAL)+=i2c_slave.o
+common-$(CONFIG_I2C_PERIPHERAL)+=i2c_peripheral.o
common-$(CONFIG_I2C_BITBANG)+=i2c_bitbang.o
common-$(CONFIG_I2C_VIRTUAL_BATTERY)+=virtual_battery.o
common-$(CONFIG_INDUCTIVE_CHARGING)+=inductive_charging.o
diff --git a/common/i2c_slave.c b/common/i2c_peripheral.c
index 7e710b2ef4..20a4b4b0ae 100644
--- a/common/i2c_slave.c
+++ b/common/i2c_peripheral.c
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* I2C slave cross-platform code for Chrome EC */
+/* I2C peripheral cross-platform code for Chrome EC */
#include "host_command.h"
#include "i2c.h"