]> git.sur5r.net Git - u-boot/blobdiff - board/ml2/serial.c
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
[u-boot] / board / ml2 / serial.c
index 543eb278d39622825ae6da979239d1e7b7ea8679..2e9ffa29ba7ad6f495502d1bff8063c6f695c845 100644 (file)
@@ -19,6 +19,7 @@
  *
  */
 
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <asm/processor.h>
 #include <common.h>
@@ -88,7 +89,7 @@ void serial_puts (const char *s)
        }
 }
 
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
 void kgdb_serial_init (void)
 {
 }
@@ -112,4 +113,4 @@ void kgdb_interruptible (int yes)
 {
        return;
 }
-#endif /* CFG_CMD_KGDB */
+#endif