summaryrefslogtreecommitdiff
path: root/common/cmd_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_console.c')
-rw-r--r--common/cmd_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_console.c b/common/cmd_console.c
index 1bd3709bd67..5e0f990723b 100644
--- a/common/cmd_console.c
+++ b/common/cmd_console.c
@@ -28,7 +28,7 @@
#include <command.h>
#include <devices.h>
-#if (CONFIG_COMMANDS & CFG_CMD_CONSOLE)
+#if defined(CONFIG_CMD_CONSOLE)
extern void _do_coninfo (void);
int do_coninfo (cmd_tbl_t * cmd, int flag, int argc, char *argv[])
@@ -68,4 +68,4 @@ U_BOOT_CMD(
""
);
-#endif /* CFG_CMD_CONSOLE */
+#endif