diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-01-05 17:56:31 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-07 19:22:02 +0000 |
commit | eb43224368e18701741f1c7cbcc5563a61daa7a1 (patch) | |
tree | 83bad3fc6ba5c26e0f5ee666716e6007d6770a31 /common/i2cs_tpm.c | |
parent | b39d6726cbc4f3d14cadaaa0c18a2883cfa1d962 (diff) | |
download | chrome-ec-eb43224368e18701741f1c7cbcc5563a61daa7a1.tar.gz |
coil: rename I2CS gpios
We can't change the register names at this point. We can only change the
gpios. This changes the gpio names.
BUG=b:175244613
TEST=make buildall -j
Change-Id: I0dadd84bbb3d19011e86428b79d0cb08321c35e3
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2611762
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'common/i2cs_tpm.c')
-rw-r--r-- | common/i2cs_tpm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/i2cs_tpm.c b/common/i2cs_tpm.c index 0d5b8e7e00..362fc57c4d 100644 --- a/common/i2cs_tpm.c +++ b/common/i2cs_tpm.c @@ -129,7 +129,7 @@ static void process_read_access(uint16_t reg_size, /* Back pointer up by one to point to beginning of buffer */ data -= 1; tpm_register_get(tpm_reg, data, reg_size); - /* Transfer TPM fifo data to the I2CS HW fifo */ + /* Transfer TPM fifo data to the I2CP HW fifo */ i2cp_post_read_fill_fifo(data, reg_size); } @@ -206,7 +206,7 @@ static void wr_complete_handler(void *i2cp_data, size_t i2cp_data_size) data, i2cp_data_size); if (assert_int_ap()) { - gpio_enable_interrupt(GPIO_MONITOR_I2CS_SDA); + gpio_enable_interrupt(GPIO_MONITOR_I2CP_SDA); return; } @@ -224,7 +224,7 @@ static void wr_complete_handler(void *i2cp_data, size_t i2cp_data_size) void i2cp_sda_isr(enum gpio_signal signal) { - gpio_disable_interrupt(GPIO_MONITOR_I2CS_SDA); + gpio_disable_interrupt(GPIO_MONITOR_I2CP_SDA); deassert_int_ap(); } @@ -242,7 +242,7 @@ static void i2cp_if_start(void) i2cp_register_write_complete_handler(wr_complete_handler); } -/* Function that sets up for I2CS to enable INT_AP_L extension. */ +/* Function that sets up for I2CP to enable INT_AP_L extension. */ static void i2cp_int_ap_extension_enable_(void) { int_ap_extension_enabled_ = true; |