From: Joe Hershberger Date: Wed, 3 Oct 2012 10:56:17 +0000 (+0000) Subject: Cleanup cache command prints X-Git-Tag: v2012.10-rc3~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36180d96ccb4eadb6dc46b362f216d6c26dce008;p=oweals%2Fu-boot.git Cleanup cache command prints Only print when queried, not every time the setting is changed. Signed-off-by: Joe Hershberger --- diff --git a/common/cmd_cache.c b/common/cmd_cache.c index 13cc3d81ba..5512f924b1 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");