]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/mips/asc_serial.c
* Patch by Steven Scholz, 10 Oct 2003
[karo-tx-uboot.git] / cpu / mips / asc_serial.c
similarity index 98%
rename from cpu/mips/serial.c
rename to cpu/mips/asc_serial.c
index 585227ad68c959169b8a8a7440a16dc8123e160d..d95ec3fd2fc27de91e4c4bf03f115834b0b5edd1 100644 (file)
@@ -4,6 +4,8 @@
 
 #include <config.h>
 
+#if defined(CONFIG_PURPLE) || defined(CONFIG_INCA_IP)
+
 #ifdef CONFIG_PURPLE
 #define        serial_init     asc_serial_init
 #define        serial_putc     asc_serial_putc
@@ -15,7 +17,7 @@
 
 #include <common.h>
 #include <asm/inca-ip.h>
-#include "serial.h"
+#include "asc_serial.h"
 
 #ifdef CONFIG_PURPLE
 
@@ -366,3 +368,4 @@ int serial_tstc (void)
 
     return res;
 }
+#endif /* CONFIG_PURPLE || CONFIG_INCA_IP */