From 6d5efa406b96158e8f519064f5e377f60147cdc3 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Fri, 19 Nov 2021 09:34:02 -0600 Subject: coil: replace non-inclusive terms with "placeholder" BUG=b:173227629 TEST=make buildall -j Change-Id: I2b203dfe45416aa3b632f6f788d14264b08f44e0 Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3293252 Reviewed-by: Vadim Sukhomlinov --- chip/g/config_chip.h | 2 +- chip/g/watchdog.c | 8 +++++--- chip/host/clock.c | 2 +- chip/host/i2c.c | 2 +- chip/host/spi_controller.c | 2 +- chip/host/trng.c | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) (limited to 'chip') diff --git a/chip/g/config_chip.h b/chip/g/config_chip.h index 29d1fb0638..98a743b6dd 100644 --- a/chip/g/config_chip.h +++ b/chip/g/config_chip.h @@ -58,7 +58,7 @@ /* Magic for gpio.inc */ #define GPIO_PIN(port, index) (port), (1 << (index)) #define GPIO_PIN_MASK(port, mask) (port), (mask) -#define DUMMY_GPIO_BANK 0 +#define PLACEHOLDER_GPIO_BANK 0 #define PCLK_FREQ (24 * 1000 * 1000) diff --git a/chip/g/watchdog.c b/chip/g/watchdog.c index c5560fc0d7..25355a5f4e 100644 --- a/chip/g/watchdog.c +++ b/chip/g/watchdog.c @@ -69,9 +69,11 @@ void watchdog_reload(void) * the first timeout we need to reset the interrupt bit. */ if (status) { GR_WATCHDOG_ICR = status; - /* That doesn't seem to unpend the watchdog interrupt (even if - * we do dummy writes to force the write to be committed), so - * explicitly unpend the interrupt before re-enabling it. */ + /* + * That doesn't seem to unpend the watchdog interrupt (even if + * we do placeholder writes to force the write to be committed), + * so explicitly unpend the interrupt before re-enabling it. + */ task_clear_pending_irq(GC_IRQNUM_WATCHDOG0_WDOGINT); task_enable_irq(GC_IRQNUM_WATCHDOG0_WDOGINT); } diff --git a/chip/host/clock.c b/chip/host/clock.c index 1bb3d56dfb..e4e512ca92 100644 --- a/chip/host/clock.c +++ b/chip/host/clock.c @@ -2,7 +2,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * Dummy clock driver for unit test. + * Placeholder clock driver for unit test. */ #include "clock.h" diff --git a/chip/host/i2c.c b/chip/host/i2c.c index c35f60f528..bcca8548de 100644 --- a/chip/host/i2c.c +++ b/chip/host/i2c.c @@ -2,7 +2,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * Dummy I2C driver for unit test. + * Placeholder I2C driver for unit test. */ #include "hooks.h" diff --git a/chip/host/spi_controller.c b/chip/host/spi_controller.c index e7dfae481e..c5a5999f58 100644 --- a/chip/host/spi_controller.c +++ b/chip/host/spi_controller.c @@ -2,7 +2,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * Dummy SPI Controller driver for unit test. + * Placeholder SPI Controller driver for unit test. */ #include diff --git a/chip/host/trng.c b/chip/host/trng.c index 80b52ce452..eb95aef80e 100644 --- a/chip/host/trng.c +++ b/chip/host/trng.c @@ -3,7 +3,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * Dummy TRNG driver for unit test. + * Placeholder TRNG driver for unit test. * * Although a TRNG is designed to be anything but predictable, * this implementation strives to be as predictable and defined -- cgit v1.2.1