summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 08:52:31 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:32:42 -0500
commit575c12c17a0c87544393faa23c339ccc1b4c681d (patch)
treeb2e6dd92c80a40f72bccde3353c1d2d421ac4f56
parent91e4946f5352915c0213d9cb86f2d465fb90e35e (diff)
downloadrtems-575c12c17a0c87544393faa23c339ccc1b4c681d.tar.bz2
m68k/av5282/console/console.c: Eliminate unused debug methods
-rw-r--r--c/src/lib/libbsp/m68k/av5282/console/console.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/m68k/av5282/console/console.c b/c/src/lib/libbsp/m68k/av5282/console/console.c
index 85ec37fcc0..bc1d9e5b32 100644
--- a/c/src/lib/libbsp/m68k/av5282/console/console.c
+++ b/c/src/lib/libbsp/m68k/av5282/console/console.c
@@ -44,7 +44,6 @@ static void _BSP_null_char( char c )
BSP_output_char_function_type BSP_output_char = _BSP_null_char;
BSP_polling_getchar_function_type BSP_poll_char = NULL;
-
#define MAX_UART_INFO 3
#define RX_BUFFER_SIZE 512
@@ -712,25 +711,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]);
-}