summaryrefslogtreecommitdiff
path: root/board/cogent/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cogent/serial.c')
-rw-r--r--board/cogent/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cogent/serial.c b/board/cogent/serial.c
index 2b595a85aea..d9c27beee88 100644
--- a/board/cogent/serial.c
+++ b/board/cogent/serial.c
@@ -90,7 +90,7 @@ int serial_tstc (void)
#endif /* CONS_NONE */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB) && \
+#if defined(CONFIG_CMD_KGDB) && \
defined(CONFIG_KGDB_NONE)
#if CONFIG_KGDB_INDEX == CONFIG_CONS_INDEX