summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDossym Nurmukhanov <dossym@google.com>2020-12-12 00:28:36 +0000
committerCommit Bot <commit-bot@chromium.org>2020-12-14 20:27:24 +0000
commit092c8eea14c9fde5ff7b07c2a8749eab4de82d54 (patch)
tree3f578cf62a7df457fac43531e51fb2af20bcda90
parenteb52db841f8527ccfcec93b6a00771448efdfb44 (diff)
downloadchrome-ec-092c8eea14c9fde5ff7b07c2a8749eab4de82d54.tar.gz
COIL: Rename i2c_peripheral files
BUG=none TEST=build and run on volteer BRANCH=none Signed-off-by: dossym@chromium.org Change-Id: I11a75e4954e918b2d4ff575dee14dec621a619b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2587226 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2590849
-rw-r--r--chip/it83xx/build.mk2
-rw-r--r--chip/it83xx/i2c_peripheral.c (renamed from chip/it83xx/i2c_slave.c)2
-rw-r--r--include/i2c_peripheral.h (renamed from include/i2c_slave.h)0
3 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/build.mk b/chip/it83xx/build.mk
index 4feab7735c..2eac0cdb85 100644
--- a/chip/it83xx/build.mk
+++ b/chip/it83xx/build.mk
@@ -37,4 +37,4 @@ ifndef CONFIG_KEYBOARD_NOT_RAW
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o
endif
chip-$(CONFIG_I2C_CONTROLLER)+=i2c.o
-chip-$(CONFIG_I2C_PERIPHERAL)+=i2c_slave.o
+chip-$(CONFIG_I2C_PERIPHERAL)+=i2c_peripheral.o
diff --git a/chip/it83xx/i2c_slave.c b/chip/it83xx/i2c_peripheral.c
index adfa794d77..63cf56a4d9 100644
--- a/chip/it83xx/i2c_slave.c
+++ b/chip/it83xx/i2c_peripheral.c
@@ -10,7 +10,7 @@
#include "console.h"
#include "gpio.h"
#include "hooks.h"
-#include "i2c_slave.h"
+#include "i2c_peripheral.h"
#include "registers.h"
#include <stddef.h>
#include <string.h>
diff --git a/include/i2c_slave.h b/include/i2c_peripheral.h
index 3145d4679b..3145d4679b 100644
--- a/include/i2c_slave.h
+++ b/include/i2c_peripheral.h