summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-19 09:34:02 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-19 21:33:05 +0000
commit6d5efa406b96158e8f519064f5e377f60147cdc3 (patch)
tree3101f02d1f11ab1e7557a4534085bb813c68a924 /chip
parentfabb25e9ebaa3f44adcd6e369c24e54021a9299b (diff)
downloadchrome-ec-6d5efa406b96158e8f519064f5e377f60147cdc3.tar.gz
coil: replace non-inclusive terms with "placeholder"
BUG=b:173227629 TEST=make buildall -j Change-Id: I2b203dfe45416aa3b632f6f788d14264b08f44e0 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3293252 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/g/config_chip.h2
-rw-r--r--chip/g/watchdog.c8
-rw-r--r--chip/host/clock.c2
-rw-r--r--chip/host/i2c.c2
-rw-r--r--chip/host/spi_controller.c2
-rw-r--r--chip/host/trng.c2
6 files changed, 10 insertions, 8 deletions
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 <stdint.h>
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