summaryrefslogtreecommitdiff
path: root/board/amirix
diff options
context:
space:
mode:
Diffstat (limited to 'board/amirix')
-rw-r--r--board/amirix/ap1000/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amirix/ap1000/serial.c b/board/amirix/ap1000/serial.c
index c6ee7728129..e781ec6e11a 100644
--- a/board/amirix/ap1000/serial.c
+++ b/board/amirix/ap1000/serial.c
@@ -84,7 +84,7 @@ void 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)
{
}