summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 08:53:15 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:32:42 -0500
commitb1c89d2552c1913a8e20031947db982d9ebb15a1 (patch)
tree994305621a1f5022ee1dc09ff2d44902f1c4aeca
parentm68k/genmcf548x/console/console.c: Eliminate unused debug methods (diff)
downloadrtems-b1c89d2552c1913a8e20031947db982d9ebb15a1.tar.bz2
m68k/mcf5235/console/console.c: Eliminate unused debug methods
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/console/console.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5235/console/console.c b/c/src/lib/libbsp/m68k/mcf5235/console/console.c
index d0e556c473..b543765d78 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/console/console.c
+++ b/c/src/lib/libbsp/m68k/mcf5235/console/console.c
@@ -742,23 +742,3 @@ rtems_device_driver console_control(
{
return( rtems_termios_ioctl (arg) );
}
-int DEBUG_OUTCHAR(int c)
-{
- if(c == '\n')
- DEBUG_OUTCHAR('\r');
- _BSP_null_char(c);
- return c;
-}
-void DEBUG_OUTSTR(const char *msg)
-{
- while (*msg)
- DEBUG_OUTCHAR(*msg++);
-}
-void DEBUG_OUTNUM(int i)
-{
- int n;
- static const char map[] = "0123456789ABCDEF";
- DEBUG_OUTCHAR(' ');
- for (n = 28 ; n >= 0 ; n -= 4)
- DEBUG_OUTCHAR(map[(i >> n) & 0xF]);
-}