Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0fccc04 authored by Max Filippov's avatar Max Filippov Committed by Chris Zankel
Browse files

xtensa: ISS: drop unused io.c



Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 23753171
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

arch/xtensa/platforms/iss/io.c

deleted100644 → 0
+0 −32
Original line number Diff line number Diff line
/* 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