diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-01-05 18:11:38 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-08 00:23:58 +0000 |
commit | f3d483ad3e662362a2916e211231c4d40251448b (patch) | |
tree | 8b6396e0d2515188e629c0a1396ebf14feb105af | |
parent | 52e31db1b3b3a7c9b9d29a1e0ba3c4da27b346cd (diff) | |
download | chrome-ec-f3d483ad3e662362a2916e211231c4d40251448b.tar.gz |
coil: rename i2cs files to i2cp
BUG=b:175244613
TEST=make buildall -j
Change-Id: Iea0b26d4aec99509bc2db0ccc3ad8da701d63e79
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613505
-rw-r--r-- | board/cr50/board.c | 2 | ||||
-rw-r--r-- | chip/g/build.mk | 2 | ||||
-rw-r--r-- | chip/g/i2cp.c (renamed from chip/g/i2cs.c) | 2 | ||||
-rw-r--r-- | chip/g/i2cp.h (renamed from chip/g/i2cs.h) | 12 | ||||
-rw-r--r-- | common/build.mk | 2 | ||||
-rw-r--r-- | common/i2cp_tpm.c (renamed from common/i2cs_tpm.c) | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c index 6be3dff779..6968ac44bb 100644 --- a/board/cr50/board.c +++ b/board/cr50/board.c @@ -19,7 +19,7 @@ #include "ite_sync.h" #include "hooks.h" #include "i2c.h" -#include "i2cs.h" +#include "i2cp.h" #include "init_chip.h" #include "nvmem.h" #include "nvmem_vars.h" diff --git a/chip/g/build.mk b/chip/g/build.mk index 05e1827a8f..ff767851e5 100644 --- a/chip/g/build.mk +++ b/chip/g/build.mk @@ -83,7 +83,7 @@ chip-$(CONFIG_RBOX)+=rbox.o chip-$(CONFIG_STREAM_USB)+=usb-stream.o chip-$(CONFIG_STREAM_USART)+=usart.o chip-$(CONFIG_I2C_CONTROLLER)+= i2cm.o -chip-$(CONFIG_I2C_PERIPH)+= i2cs.o +chip-$(CONFIG_I2C_PERIPH)+= i2cp.o chip-$(CONFIG_LOW_POWER_IDLE)+=idle.o diff --git a/chip/g/i2cs.c b/chip/g/i2cp.c index f301878235..801ce05968 100644 --- a/chip/g/i2cs.c +++ b/chip/g/i2cp.c @@ -67,7 +67,7 @@ #include "flash_log.h" #include "gpio.h" #include "hooks.h" -#include "i2cs.h" +#include "i2cp.h" #include "pmu.h" #include "registers.h" #include "system.h" diff --git a/chip/g/i2cs.h b/chip/g/i2cp.h index a3ca8641a6..5ab7286fc7 100644 --- a/chip/g/i2cs.h +++ b/chip/g/i2cp.h @@ -3,8 +3,8 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#ifndef __CHIP_G_I2CS_H -#define __CHIP_G_I2CS_H +#ifndef __CHIP_G_I2CP_H +#define __CHIP_G_I2CP_H #include <stddef.h> @@ -25,13 +25,13 @@ int i2cp_register_write_complete_handler(wr_complete_handler_f wc_handler); void i2cp_post_read_data(uint8_t byte_to_read); /* - * Configure the pinmux registers required to connect the I2CS interface. This + * Configure the pinmux registers required to connect the I2CP interface. This * function is board specific and so it exists in the associated board.c file. */ void i2cp_set_pinmux(void); /* - * Ensure no bytes are currently buffered in the I2CS READ fifo. This + * Ensure no bytes are currently buffered in the I2CP READ fifo. This * value is calculated by finding the difference between read pointer that's * used by FW to add bytes to the HW fifo and the current value of the * I2CS_READ_PTR register. @@ -51,7 +51,7 @@ size_t i2cp_zero_read_fifo_buffer_depth(void); void i2cp_post_read_fill_fifo(uint8_t *buffer, size_t len); /* - * Provide upper layers with information with the I2CS interface + * Provide upper layers with information with the I2CP interface * status/statistics. The only piece of information currently provided is the * counter of "hosed" i2c interface occurences, where i2c clocking stopped * while slave was transmitting a zero. @@ -61,4 +61,4 @@ struct i2cp_status { }; void i2cp_get_status(struct i2cp_status *status); -#endif /* ! __CHIP_G_I2CS_H */ +#endif /* ! __CHIP_G_I2CP_H */ diff --git a/common/build.mk b/common/build.mk index 79938a7fc8..4ab052d9be 100644 --- a/common/build.mk +++ b/common/build.mk @@ -119,7 +119,7 @@ common-$(CONFIG_TEMP_SENSOR)+=temp_sensor.o common-$(CONFIG_THROTTLE_AP)+=thermal.o throttle_ap.o common-$(CONFIG_THROTTLE_AP_ON_BAT_DISCHG_CURRENT)+=throttle_ap.o common-$(CONFIG_THROTTLE_AP_ON_BAT_VOLTAGE)+=throttle_ap.o -common-$(CONFIG_TPM_I2CP)+=i2cs_tpm.o +common-$(CONFIG_TPM_I2CP)+=i2cp_tpm.o common-$(CONFIG_U2F)+=u2f.o common-$(CONFIG_USB_CONSOLE_STREAM)+=usb_console_stream.o common-$(CONFIG_USB_I2C)+=usb_i2c.o diff --git a/common/i2cs_tpm.c b/common/i2cp_tpm.c index 362fc57c4d..48af3a22b3 100644 --- a/common/i2cs_tpm.c +++ b/common/i2cp_tpm.c @@ -7,7 +7,7 @@ #include "console.h" #include "gpio.h" #include "hooks.h" -#include "i2cs.h" +#include "i2cp.h" #include "registers.h" #include "system.h" #include "tpm_registers.h" |