1
0
Fork 0

xtensa: ISS: drop unused io.c

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
hifive-unleashed-5.1
Max Filippov 2012-09-17 05:44:48 +04:00 committed by Chris Zankel
parent 237531714f
commit d0fccc0446
2 changed files with 1 additions and 33 deletions

View 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

View File

@ -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