projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9455fc
)
Cleanup cache command prints
author
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 3 Oct 2012 10:56:17 +0000
(10:56 +0000)
committer
Tom Rini
<trini@ti.com>
Wed, 3 Oct 2012 23:01:22 +0000
(16:01 -0700)
Only print when queried, not every time the setting is changed.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/cmd_cache.c
patch
|
blob
|
history
diff --git
a/common/cmd_cache.c
b/common/cmd_cache.c
index 13cc3d81bac0ac7a4789792b16533a7103dafd00..5512f924b1808c0aa8b6f9ec3682dd55498c16d1 100644
(file)
--- a/
common/cmd_cache.c
+++ b/
common/cmd_cache.c
@@
-51,7
+51,7
@@
int do_icache(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
invalidate_icache_all();
break;
}
- /* FALL TROUGH */
+ break;
case 1: /* get status */
printf("Instruction Cache is %s\n",
icache_status() ? "ON" : "OFF");