]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_cache.c
Memory footprint optimizations
[u-boot] / common / cmd_cache.c
index 6c250bc1c025cda68385d85db853ba43b82fe424..675d43fa1877cc8320d3684b17caaf6cf23b295f 100644 (file)
@@ -27,7 +27,7 @@
 #include <common.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_CACHE)
+#if defined(CONFIG_CMD_CACHE)
 
 static int on_off (const char *);
 
@@ -109,4 +109,4 @@ U_BOOT_CMD(
        "    - enable or disable data (writethrough) cache\n"
 );
 
-#endif /* CFG_CMD_CACHE */
+#endif