summaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2021-10-01 14:28:22 -0600
committerMartin Roth <martinroth@google.com>2021-10-05 18:06:39 +0000
commit0949e739066c3509e05db2b9ed71cefaaa62205f (patch)
tree797d772f524dd668689f8c2813f3b052e84de434 /src/ec/google
parent6c3ece9c9ef73db5c0e02cc5a41c98f46b86c3e9 (diff)
src/acpi to src/lib: Fix spelling errors
These issues were found and fixed by codespell, a useful tool for finding spelling errors. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I5b8ecdfe75d99028fee820a2034466a8ad1c5e63 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58080 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/ec.h4
-rw-r--r--src/ec/google/chromeec/ec_commands.h2
-rw-r--r--src/ec/google/wilco/commands.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h
index ed9f4e43ba..743651b0f9 100644
--- a/src/ec/google/chromeec/ec.h
+++ b/src/ec/google/chromeec/ec.h
@@ -161,7 +161,7 @@ int crosec_command_proto(struct chromeec_command *cec_command,
crosec_io_t crosec_io, void *context);
/**
- * Performs light verification of the EC<->AP communcation channel.
+ * Performs light verification of the EC<->AP communication channel.
*
* @return 0 on success, -1 on error
*/
@@ -330,7 +330,7 @@ struct usb_pd_port_caps {
* Get role-based capabilities for a USB-PD port
*
* @param port Which port to get information about
- * @param *power_role_cap The power-role capabillity of the port
+ * @param *power_role_cap The power-role capability of the port
* @param *try_power_role_cap The Try-power-role capability of the port
* @param *data_role_cap The data role capability of the port
* @param *port_location Location of the port on the device
diff --git a/src/ec/google/chromeec/ec_commands.h b/src/ec/google/chromeec/ec_commands.h
index e8b028f822..bbe34be71a 100644
--- a/src/ec/google/chromeec/ec_commands.h
+++ b/src/ec/google/chromeec/ec_commands.h
@@ -2856,7 +2856,7 @@ struct ec_params_motion_sense {
*/
struct __ec_todo_unpacked {
/* Data to set or EC_MOTION_SENSE_NO_VALUE to read.
- * kb_wake_angle: angle to wakup AP.
+ * kb_wake_angle: angle to wake up AP.
*/
int16_t data;
} kb_wake_angle;
diff --git a/src/ec/google/wilco/commands.h b/src/ec/google/wilco/commands.h
index a2163459e1..b70f949fcb 100644
--- a/src/ec/google/wilco/commands.h
+++ b/src/ec/google/wilco/commands.h
@@ -10,7 +10,7 @@ enum {
KB_POWER_SMI = 0x04,
/* Read but do not clear power state information */
KB_POWER_STATUS = 0x05,
- /* Inform the EC aboout the reason host is turning off */
+ /* Inform the EC about the reason host is turning off */
KB_POWER_OFF = 0x08,
/* Control wireless radios */
KB_RADIO_CONTROL = 0x2b,