summaryrefslogtreecommitdiff
path: root/common/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/kgdb.c')
-rw-r--r--common/kgdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/kgdb.c b/common/kgdb.c
index 6de6ec99a22..1d346699a56 100644
--- a/common/kgdb.c
+++ b/common/kgdb.c
@@ -92,7 +92,7 @@
#include <kgdb.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#undef KGDB_DEBUG
@@ -591,4 +591,4 @@ U_BOOT_CMD(
int kgdb_not_configured = 1;
-#endif /* CFG_CMD_KGDB */
+#endif