summaryrefslogtreecommitdiff
path: root/board/cogent
diff options
context:
space:
mode:
Diffstat (limited to 'board/cogent')
-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 2b595a8..3f600ca 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 ((CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)) && \
defined(CONFIG_KGDB_NONE)
#if CONFIG_KGDB_INDEX == CONFIG_CONS_INDEX