]> git.sur5r.net Git - u-boot/commitdiff
Cleanup cache command prints
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 3 Oct 2012 10:56:17 +0000 (10:56 +0000)
committerTom 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

index 13cc3d81bac0ac7a4789792b16533a7103dafd00..5512f924b1808c0aa8b6f9ec3682dd55498c16d1 100644 (file)
@@ -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");