summaryrefslogtreecommitdiff
path: root/common/cmd_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_cache.c')
-rw-r--r--common/cmd_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 6c250bc1c..675d43fa1 100644
--- a/common/cmd_cache.c
+++ b/common/cmd_cache.c
@@ -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