diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-17 01:44:48 (GMT) |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-03 22:12:23 (GMT) |
commit | d0fccc0446800a746d109d5c202a4a550036d923 (patch) | |
tree | eb4ae4b6aef36b8125621f60a033dc0fed262644 /arch/xtensa/platforms/iss | |
parent | 237531714fbe07b27f5b2fbf239df962adfc50d7 (diff) | |
download | linux-d0fccc0446800a746d109d5c202a4a550036d923.tar.xz |
xtensa: ISS: drop unused io.c
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/platforms/iss')
-rw-r--r-- | arch/xtensa/platforms/iss/Makefile | 2 | ||||
-rw-r--r-- | arch/xtensa/platforms/iss/io.c | 32 |
2 files changed, 1 insertions, 33 deletions
diff --git a/arch/xtensa/platforms/iss/Makefile b/arch/xtensa/platforms/iss/Makefile index c61dd39..b7d1a5c 100644 --- a/arch/xtensa/platforms/iss/Makefile +++ b/arch/xtensa/platforms/iss/Makefile @@ -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 index 571d0b2..0000000 --- a/arch/xtensa/platforms/iss/io.c +++ /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 - |