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

Signed-off-by: Joe Hershberger <joe.hershber...@ni.com>
---
 common/cmd_cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 13cc3d8..5512f92 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");
-- 
1.7.11.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to