瀏覽代碼

Cleanup cache command prints

Only print when queried, not every time the setting is changed.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger 12 年之前
父節點
當前提交
36180d96cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/cmd_cache.c

+ 1 - 1
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");