summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-10-24 16:32:19 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-15 17:41:53 -0800
commit897ce78bddb26557a686ab9e756fcf3d6c121271 (patch)
treeedde864d756a6e1133808118b8ae90c323ed4ade /util
parent64b57efebdb311126f3daaa97d49443308507b76 (diff)
downloadchrome-ec-897ce78bddb26557a686ab9e756fcf3d6c121271.tar.gz
Fix various misspellings in comments
No functional changes. BUG=none BRANCH=none TEST=make buildall passes Change-Id: Ie852feb8e3951975d99dce5a49c17f5f0e8bc791 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/403417 Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/ec3po/console_unittest.py2
-rw-r--r--util/openocd/npcx_cmds.tcl4
-rw-r--r--util/stm32mon.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/util/ec3po/console_unittest.py b/util/ec3po/console_unittest.py
index 82bf4ba212..768417df8f 100755
--- a/util/ec3po/console_unittest.py
+++ b/util/ec3po/console_unittest.py
@@ -587,7 +587,7 @@ class TestConsoleEditingMethods(unittest.TestCase):
# Perform the same verification.
CheckInputBufferPosition(self, len(test_str))
- # We expect to see the test string, a jump to the begining of the line, and
+ # We expect to see the test string, a jump to the beginning of the line, and
# one jump to the end of the line.
exp_console_out = test_str
# Jump to beginning.
diff --git a/util/openocd/npcx_cmds.tcl b/util/openocd/npcx_cmds.tcl
index a21b804997..579aa3834e 100644
--- a/util/openocd/npcx_cmds.tcl
+++ b/util/openocd/npcx_cmds.tcl
@@ -82,7 +82,7 @@ proc flash_npcx_ro {chip_name image_dir image_offset} {
# Halt CPU first
halt
- # diable MPU for Data RAM
+ # disable MPU for Data RAM
mww $MPU_RNR 0x1
mww $MPU_RASR 0x0
@@ -109,7 +109,7 @@ proc flash_npcx_all {chip_name image_dir image_offset} {
# Halt CPU first
halt
- # diable MPU for Data RAM
+ # disable MPU for Data RAM
mww $MPU_RNR 0x1
mww $MPU_RASR 0x0
diff --git a/util/stm32mon.c b/util/stm32mon.c
index 36b968f2c5..d38b0ed930 100644
--- a/util/stm32mon.c
+++ b/util/stm32mon.c
@@ -144,7 +144,7 @@ int open_serial(const char *port)
/*
* tcsetattr() returns success if any of the modifications succeed, so
* its return value of zero is not an indication of success, one needs
- * to check the result explicitely.
+ * to check the result explicitly.
*/
tcsetattr(fd, TCSANOW, &cfg);
if (tcgetattr(fd, &cfg)) {