1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-28 14:01:16 +02:00

Cleanup cache command prints

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

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Joe Hershberger
2012-10-03 10:56:17 +00:00
committed by Tom Rini
parent e9455fcc45
commit 36180d96cc

View File

@@ -51,7 +51,7 @@ int do_icache(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
invalidate_icache_all(); invalidate_icache_all();
break; break;
} }
/* FALL TROUGH */ break;
case 1: /* get status */ case 1: /* get status */
printf("Instruction Cache is %s\n", printf("Instruction Cache is %s\n",
icache_status() ? "ON" : "OFF"); icache_status() ? "ON" : "OFF");