summaryrefslogtreecommitdiff
path: root/common/cmd_mem.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2013-02-03 02:29:54 +0000
committerTom Rini <trini@ti.com>2013-02-19 17:01:26 -0500
commit85de63e2e68d314bea2119b817669034d397f64b (patch)
tree2062b177e36115461af67abfe72cee5e61313182 /common/cmd_mem.c
parent7789df9dc61a043bd9a2d647e2e212fb2d3c3d7e (diff)
downloadu-boot-imx-85de63e2e68d314bea2119b817669034d397f64b.zip
u-boot-imx-85de63e2e68d314bea2119b817669034d397f64b.tar.gz
u-boot-imx-85de63e2e68d314bea2119b817669034d397f64b.tar.bz2
cmd_mem.c: Fix some typoes, no functional changes
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Diffstat (limited to 'common/cmd_mem.c')
-rw-r--r--common/cmd_mem.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 0f3ffc8..d44aa1d 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -462,7 +462,8 @@ static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc,
if (argc < 3)
return CMD_RET_USAGE;
- /* Check for a size spefication.
+ /*
+ * Check for a size specification.
* Defaults to long if no or incorrect specification.
*/
if ((size = cmd_get_data_size(argv[0], 4)) < 0)
@@ -531,7 +532,8 @@ int do_mem_loopw (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (argc < 4)
return CMD_RET_USAGE;
- /* Check for a size spefication.
+ /*
+ * Check for a size specification.
* Defaults to long if no or incorrect specification.
*/
if ((size = cmd_get_data_size(argv[0], 4)) < 0)
@@ -683,7 +685,7 @@ static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc,
* Data line test: write a pattern to the first
* location, write the 1's complement to a 'parking'
* address (changes the state of the data bus so a
- * floating bus doen't give a false OK), and then
+ * floating bus doesn't give a false OK), and then
* read the value back. Note that we read it back
* into a variable because the next time we read it,
* it might be right (been there, tough to explain to
@@ -747,7 +749,7 @@ static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc,
* 1's test on the relevant bits of the
* address and checking for aliasing.
* This test will find single-bit
- * address failures such as stuck -high,
+ * address failures such as stuck-high,
* stuck-low, and shorted pins. The base
* address and size of the region are
* selected by the caller.