summaryrefslogtreecommitdiff
path: root/board/amirix/ap1000
diff options
context:
space:
mode:
Diffstat (limited to 'board/amirix/ap1000')
-rw-r--r--board/amirix/ap1000/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/amirix/ap1000/serial.c b/board/amirix/ap1000/serial.c
index c6ee7728129..5e9e3a31eea 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 defined(CONFIG_CMD_KGDB)
void kgdb_serial_init (void)
{
}
@@ -108,4 +108,4 @@ void kgdb_interruptible (int yes)
{
return;
}
-#endif /* CFG_CMD_KGDB */
+#endif