summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/host/board.c10
-rw-r--r--board/kukui/board.c2
-rw-r--r--board/nucleo-f072rb/board.c2
-rw-r--r--board/reef_mchp/board.c2
-rw-r--r--board/stm32l476g-eval/board.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/board/host/board.c b/board/host/board.c
index 2ee7413152..307ccac991 100644
--- a/board/host/board.c
+++ b/board/host/board.c
@@ -34,17 +34,17 @@ test_mockable enum battery_present battery_is_present(void)
return BP_YES;
}
-test_mockable_static int dummy_temp_get_val(int idx, int *temp_ptr)
+test_mockable_static int mock_temp_get_val(int idx, int *temp_ptr)
{
*temp_ptr = 0;
return EC_SUCCESS;
}
const struct temp_sensor_t temp_sensors[] = {
- {"CPU", TEMP_SENSOR_TYPE_CPU, dummy_temp_get_val, 0},
- {"Board", TEMP_SENSOR_TYPE_BOARD, dummy_temp_get_val, 1},
- {"Case", TEMP_SENSOR_TYPE_CASE, dummy_temp_get_val, 2},
- {"Battery", TEMP_SENSOR_TYPE_BOARD, dummy_temp_get_val, 3},
+ {"CPU", TEMP_SENSOR_TYPE_CPU, mock_temp_get_val, 0},
+ {"Board", TEMP_SENSOR_TYPE_BOARD, mock_temp_get_val, 1},
+ {"Case", TEMP_SENSOR_TYPE_CASE, mock_temp_get_val, 2},
+ {"Battery", TEMP_SENSOR_TYPE_BOARD, mock_temp_get_val, 3},
};
BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
diff --git a/board/kukui/board.c b/board/kukui/board.c
index 68edc00d3a..0f6107ceaa 100644
--- a/board/kukui/board.c
+++ b/board/kukui/board.c
@@ -263,7 +263,7 @@ int pd_snk_is_vbus_provided(int port)
}
#if defined(BOARD_KUKUI) || defined(BOARD_KODAMA)
-/* dummy interrupt function for kukui */
+/* fake interrupt function for kukui */
void pogo_adc_interrupt(enum gpio_signal signal)
{
}
diff --git a/board/nucleo-f072rb/board.c b/board/nucleo-f072rb/board.c
index 48a51c7b02..66e8960ce7 100644
--- a/board/nucleo-f072rb/board.c
+++ b/board/nucleo-f072rb/board.c
@@ -18,7 +18,7 @@ void button_event(enum gpio_signal signal)
#ifdef CTS_MODULE
/*
- * Dummy interrupt handler. It's supposed to be overwritten by each suite
+ * Mock interrupt handler. It's supposed to be overwritten by each suite
* if needed.
*/
__attribute__((weak)) void cts_irq1(enum gpio_signal signal) {}
diff --git a/board/reef_mchp/board.c b/board/reef_mchp/board.c
index 04d1438799..621f6c484b 100644
--- a/board/reef_mchp/board.c
+++ b/board/reef_mchp/board.c
@@ -394,7 +394,7 @@ const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);
* Upon receiving DRP low power idle command, PS8751 holds SCL and
* SDA low for ~480us. It simultaneously releases both pins which is
* defined as a bus error condition by I2C spec. No ACK received.
- * TCPCI spec. states waking any TCPM requires sending any dummy
+ * TCPCI spec. states waking any TCPM requires sending any fake
* I2C command which the TCPM will NACK. The I2C master MUST wait
* a minimum of 5 ms after the NACK before sending another I2C
* command. We observe the PD task and TCPCI state machines do not
diff --git a/board/stm32l476g-eval/board.c b/board/stm32l476g-eval/board.c
index 2ef46e8bc1..c7ebc2c6b8 100644
--- a/board/stm32l476g-eval/board.c
+++ b/board/stm32l476g-eval/board.c
@@ -11,7 +11,7 @@
#ifdef CTS_MODULE
/*
- * Dummy interrupt handler. It's supposed to be overwritten by each suite
+ * Mock interrupt handler. It's supposed to be overwritten by each suite
* if needed.
*/
__attribute__((weak)) void cts_irq(enum gpio_signal signal)