summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:26:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:26:33 +0000
commit162585601da3174dcb4200379bc39a42e4077e39 (patch)
tree51113e62b99558dbb8a501abc7f7969ab91c802b
parentbaee0fb6d5730eb50a13f74b8833ba8bab83e490 (diff)
downloadrtems-162585601da3174dcb4200379bc39a42e4077e39.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c, i2c/i2cdrv.c, nvram/nvram.c, startup/bspstart.c, tod/ds1307.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog5
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/console/console.c16
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/i2c/i2cdrv.c1
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c3
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/startup/bspstart.c5
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/tod/ds1307.c1
6 files changed, 8 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog b/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
index 49e7f80141..ccf6fafeb6 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-04 Joel Sherrill <joel@OARcorp.com>
+
+ * console/console.c, i2c/i2cdrv.c, nvram/nvram.c, startup/bspstart.c,
+ tod/ds1307.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c b/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c
index be401be0e1..9e73d564f1 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c
@@ -197,22 +197,6 @@ console_last_close(int major, int minor, void *arg)
return mcfuart_disable(&uart[minor]);
}
-/* console_reserve_resources --
- * reserve termios resources for 2 UART channels
- *
- * PARAMETERS:
- * configuration -- pointer to the RTEMS configuration table
- *
- * RETURNS:
- * none
- */
-void
-console_reserve_resources(rtems_configuration_table *configuration)
-{
- if (console_mode != CONSOLE_MODE_RAW)
- rtems_termios_reserve_resources (configuration, 2);
-}
-
/* console_initialize --
* This routine initializes the console IO drivers and register devices
* in RTEMS I/O system.
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/i2c/i2cdrv.c b/c/src/lib/libbsp/m68k/mcf5206elite/i2c/i2cdrv.c
index 511a58912e..64a4dc0c25 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/i2c/i2cdrv.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/i2c/i2cdrv.c
@@ -18,6 +18,7 @@
#include <rtems.h>
#include <bsp.h>
#include <stdlib.h>
+#include <string.h>
#include "i2c.h"
#include "i2cdrv.h"
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c b/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c
index ea084a728d..f25052545d 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c
@@ -19,6 +19,7 @@
#include <rtems.h>
#include <rtems/libio.h>
#include <errno.h>
+#include <string.h>
#include <bsp.h>
#include <nvram.h>
#include <i2c.h>
@@ -173,5 +174,3 @@ nvram_driver_write(rtems_device_major_number major,
args->bytes_moved = count;
return RTEMS_SUCCESSFUL;
}
-
- \ No newline at end of file
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspstart.c
index 23ba12fd1c..a0e8443d93 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspstart.c
@@ -71,11 +71,6 @@ void bsp_start( void )
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
/*
- * Account for the console's resources
- */
- console_reserve_resources( &BSP_Configuration );
-
- /*
* initialize the CPU table for this BSP
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tod/ds1307.c b/c/src/lib/libbsp/m68k/mcf5206elite/tod/ds1307.c
index ae1cdf10d6..8018936210 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/tod/ds1307.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/tod/ds1307.c
@@ -30,6 +30,7 @@
#include <rtems.h>
#include <libchip/rtc.h>
+#include <string.h>
#include "ds1307.h"
#include "i2c.h"