summaryrefslogtreecommitdiff
path: root/common/cmd_cache.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-10-03 10:56:17 +0000
committerTom Rini <trini@ti.com>2012-10-03 16:01:22 -0700
commit36180d96ccb4eadb6dc46b362f216d6c26dce008 (patch)
tree29dfb6ed99e4a4149ba4c909954cc7c1caf09bac /common/cmd_cache.c
parente9455fcc4526bb354150655876b8badab8a8c2ea (diff)
downloadu-boot-imx-36180d96ccb4eadb6dc46b362f216d6c26dce008.zip
u-boot-imx-36180d96ccb4eadb6dc46b362f216d6c26dce008.tar.gz
u-boot-imx-36180d96ccb4eadb6dc46b362f216d6c26dce008.tar.bz2
Cleanup cache command prints
Only print when queried, not every time the setting is changed. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/cmd_cache.c')
-rw-r--r--common/cmd_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 13cc3d8..5512f92 100644
--- 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");