소스 검색

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