xtensa: ISS: drop unused io.c
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 17 Sep 2012 01:44:48 +0000 (05:44 +0400)
committerChris Zankel <chris@zankel.net>
Wed, 3 Oct 2012 22:12:23 +0000 (15:12 -0700)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/iss/Makefile
arch/xtensa/platforms/iss/io.c [deleted file]

index c61dd3961b173b53d7cac2819f137b04fab6839d..b7d1a5c0ff7f84104ec676ce2bac5f10c3f65ba4 100644 (file)
@@ -4,5 +4,5 @@
 # "prom monitor" library routines under Linux.
 #
 
-obj-y                  = io.o console.o setup.o
+obj-y                  = console.o setup.o
 obj-$(CONFIG_NET)      += network.o
diff --git a/arch/xtensa/platforms/iss/io.c b/arch/xtensa/platforms/iss/io.c
deleted file mode 100644 (file)
index 571d0b2..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* This file isn't really needed right now. */
-
-#if 0
-
-#include <asm/io.h>
-#include <platform/platform-iss/simcall.h>
-
-extern int __simc ();
-
-
-char iss_serial_getc()
-{
-  char c;
-  __simc( SYS_read, 0, &c, 1 );
-  return c;
-}
-
-void iss_serial_putc( char c )
-{
-  __simc( SYS_write, 1, &c, 1 );
-}
-
-void iss_serial_puts( char *s )
-{
-  if( s != 0 && *s != 0 )
-    __simc( SYS_write, 1, s, strlen(s) );
-}
-
-/*#error Need I/O ports to specific hardware!*/
-
-#endif
-