summaryrefslogtreecommitdiff
path: root/board/xilinx/ml300/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/ml300/serial.c')
-rw-r--r--board/xilinx/ml300/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/ml300/serial.c b/board/xilinx/ml300/serial.c
index 9b03f89..e4b743a 100644
--- a/board/xilinx/ml300/serial.c
+++ b/board/xilinx/ml300/serial.c
@@ -122,7 +122,7 @@ serial_puts(const char *s)
}
}
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
void
kgdb_serial_init(void)
{