summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2019-06-25 10:18:03 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-27 16:11:10 +0000
commit999ae1369da8c71e6f4fdcfe03496862a403f98a (patch)
tree2da1ea67cd04a993f3027415afa146de54ea636a
parentc00390317a0c95b9dede58cbc7922124d4175e18 (diff)
downloadchrome-ec-999ae1369da8c71e6f4fdcfe03496862a403f98a.tar.gz
cleanup: Fix common spelling typos in comments
Used 'git grep' to fix the following misspelled words across the codebase: * woud * setion * cleand * independantly * dedup BRANCH=none BUG=none TEST=make buildall -j Change-Id: I95905c56221034cf3f9d286755d7e0c07f8c58b6 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1678246 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Commit-Queue: Sean Abraham <seanabraham@chromium.org>
-rw-r--r--common/host_command.c4
-rw-r--r--include/config.h8
-rw-r--r--include/usb_descriptor.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/common/host_command.c b/common/host_command.c
index 5f63a8f325..f4431b3c99 100644
--- a/common/host_command.c
+++ b/common/host_command.c
@@ -193,7 +193,7 @@ void host_command_received(struct host_cmd_handler_args *args)
/*
* TODO (crosbug.com/p/29315): This is typically running in interrupt
- * context, so it woud be better not to send the response here, and to
+ * context, so it would be better not to send the response here, and to
* let the host command task send the response.
*/
/* Send the response now */
@@ -363,7 +363,7 @@ void host_packet_receive(struct host_packet *pkt)
host_packet_bad:
/*
* TODO (crosbug.com/p/29315): This is typically running in interrupt
- * context, so it woud be better not to send the response here, and to
+ * context, so it would be better not to send the response here, and to
* let the host command task send the response.
*/
/* Improperly formed packet from host, so send an error response */
diff --git a/include/config.h b/include/config.h
index 781d8a8ace..f6d8792021 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2902,7 +2902,7 @@
*
* CONFIG_ROM_SIZE indicates the size of ROM allocated by a linker script. This
* is only needed when no physical flash present (!CONFIG_FLASH_PHYSICAL). The
- * ROM region will place common RO setions, e.g. .text, .rodata, .data LMA etc.
+ * ROM region will place common RO sections, e.g. .text, .rodata, .data LMA etc.
*/
#undef CONFIG_CODE_RAM_SIZE
#undef CONFIG_DATA_RAM_SIZE
@@ -3040,7 +3040,7 @@
* Support SPI Slave interfaces. The first board supporting this is cr50 and
* in its parlance SPI_SLAVE is called SPS. This convention might be
* reconsidered later, and the use of "SPI" in different config options needs
- * to be cleand up. (crbug.com/512613).
+ * to be cleaned up. (crbug.com/512613).
*/
#undef CONFIG_SPS
@@ -4065,7 +4065,7 @@
/*
* The write protect signal is always asserted,
- * independantly of the GPIO existence or current value.
+ * independently of the GPIO existence or current value.
*/
#undef CONFIG_WP_ALWAYS
@@ -4080,7 +4080,7 @@
/* Firmware updates using other than HC channel(s). */
#undef CONFIG_NON_HC_FW_UPDATE
#undef CONFIG_USB_FW_UPDATE
-/* A different config for the same update. TODO(vbendeb): dedup these */
+/* A different config for the same update. TODO(vbendeb): dedupe these */
#undef CONFIG_USB_UPDATE
/* Add support for pairing over the USB update interface. */
diff --git a/include/usb_descriptor.h b/include/usb_descriptor.h
index a677481f1e..4b7184a311 100644
--- a/include/usb_descriptor.h
+++ b/include/usb_descriptor.h
@@ -200,7 +200,7 @@ struct usb_endpoint_descriptor {
#define USB_PROTOCOL_GOOGLE_UPDATE 0xff
/* Double define for cr50 code freeze.
- * TODO(vbendeb): dedup this. */
+ * TODO(vbendeb): dedupe this. */
#define USB_SUBCLASS_GOOGLE_CR50 0x53
/* We can use any protocol we want */
#define USB_PROTOCOL_GOOGLE_CR50_NON_HC_FW_UPDATE 0xff