Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cinap_lenrek
reform-boundary-uboot
Commits
85de63e2
Commit
85de63e2
authored
12 years ago
by
Robert P. J. Day
Committed by
Tom Rini
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmd_mem.c: Fix some typoes, no functional changes
Signed-off-by:
Robert P. J. Day
<
rpjday@crashcourse.ca
>
parent
7789df9d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/cmd_mem.c
+6
-4
6 additions, 4 deletions
common/cmd_mem.c
with
6 additions
and
4 deletions
common/cmd_mem.c
+
6
−
4
View file @
85de63e2
...
@@ -462,7 +462,8 @@ static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc,
...
@@ -462,7 +462,8 @@ static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc,
if
(
argc
<
3
)
if
(
argc
<
3
)
return
CMD_RET_USAGE
;
return
CMD_RET_USAGE
;
/* Check for a size spefication.
/*
* Check for a size specification.
* Defaults to long if no or incorrect specification.
* Defaults to long if no or incorrect specification.
*/
*/
if
((
size
=
cmd_get_data_size
(
argv
[
0
],
4
))
<
0
)
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[])
...
@@ -531,7 +532,8 @@ int do_mem_loopw (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if
(
argc
<
4
)
if
(
argc
<
4
)
return
CMD_RET_USAGE
;
return
CMD_RET_USAGE
;
/* Check for a size spefication.
/*
* Check for a size specification.
* Defaults to long if no or incorrect specification.
* Defaults to long if no or incorrect specification.
*/
*/
if
((
size
=
cmd_get_data_size
(
argv
[
0
],
4
))
<
0
)
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,
...
@@ -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
* Data line test: write a pattern to the first
* location, write the 1's complement to a 'parking'
* location, write the 1's complement to a 'parking'
* address (changes the state of the data bus so a
* address (changes the state of the data bus so a
* floating bus doen't give a false OK), and then
* floating bus doe
s
n't give a false OK), and then
* read the value back. Note that we read it back
* read the value back. Note that we read it back
* into a variable because the next time we read it,
* into a variable because the next time we read it,
* it might be right (been there, tough to explain to
* it might be right (been there, tough to explain to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment