summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-10 21:35:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-10 21:35:06 +0000
commit05adba6b126c1abffce4eee25bf0dc0e1d15b9e6 (patch)
tree4a5d31ce4e192b939bc1ad42be844cba1ff76855 /c/src/lib/libbsp
parent2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-05adba6b126c1abffce4eee25bf0dc0e1d15b9e6.tar.bz2
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup() implementations. In this phase, all prototypes were removed from bsp.h and empty implementations were removed and made to use the shared stub. * startup/bspclean.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/m68k/csb360/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/csb360/Makefile.am2
-rw-r--r--c/src/lib/libbsp/m68k/csb360/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/csb360/startup/bspclean.c37
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/Makefile.am2
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/startup/bspclean.c25
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/Makefile.am2
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/startup/bspclean.c26
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/Makefile.am2
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/bspclean.c26
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am2
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/startup/bspclean.c37
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/Makefile.am6
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/startup/bspclean.c25
-rw-r--r--c/src/lib/libbsp/sh/gensh2/ChangeLog8
-rw-r--r--c/src/lib/libbsp/sh/gensh2/Makefile.am4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/include/bsp.h4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/bspclean.c42
28 files changed, 66 insertions, 244 deletions
diff --git a/c/src/lib/libbsp/m68k/csb360/ChangeLog b/c/src/lib/libbsp/m68k/csb360/ChangeLog
index 23549f0da3..55a6f32679 100644
--- a/c/src/lib/libbsp/m68k/csb360/ChangeLog
+++ b/c/src/lib/libbsp/m68k/csb360/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5272.c: Add missing prototypes.
diff --git a/c/src/lib/libbsp/m68k/csb360/Makefile.am b/c/src/lib/libbsp/m68k/csb360/Makefile.am
index 8ea9d104ba..428a8d00c0 100644
--- a/c/src/lib/libbsp/m68k/csb360/Makefile.am
+++ b/c/src/lib/libbsp/m68k/csb360/Makefile.am
@@ -28,7 +28,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
-startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
+startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
startup/bspstart.c startup/init5272.c ../../shared/bootcard.c \
diff --git a/c/src/lib/libbsp/m68k/csb360/include/bsp.h b/c/src/lib/libbsp/m68k/csb360/include/bsp.h
index e391b90ed5..7512e76090 100644
--- a/c/src/lib/libbsp/m68k/csb360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/csb360/include/bsp.h
@@ -181,8 +181,6 @@ extern rtems_isr (*rtems_clock_hook)(rtems_vector_number);
/* functions */
-void bsp_cleanup( void );
-
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
diff --git a/c/src/lib/libbsp/m68k/csb360/startup/bspclean.c b/c/src/lib/libbsp/m68k/csb360/startup/bspclean.c
deleted file mode 100644
index 0a76b782d6..0000000000
--- a/c/src/lib/libbsp/m68k/csb360/startup/bspclean.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * CSB360 cleanu code.
- *
- * This routine returns control from RTEMS to the dBUG monitor.
- *
- * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia.
- * Author: Victor V. Vengerov <vvv@oktet.ru>
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- *
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-/* bsp_cleanup --
- * This function called when RTEMS execution is finished. bsp_cleanup
- * for MCF5206eLITE evaluation board throw execution to the dBUG
- * monitor.
- *
- * PARAMETERS:
- * none
- *
- * RETURNS:
- * none
- */
-void
-bsp_cleanup(void)
-{
-}
diff --git a/c/src/lib/libbsp/m68k/gen68302/ChangeLog b/c/src/lib/libbsp/m68k/gen68302/ChangeLog
index 31ad2c2d7d..4e89af9d85 100644
--- a/c/src/lib/libbsp/m68k/gen68302/ChangeLog
+++ b/c/src/lib/libbsp/m68k/gen68302/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: The Shared Memory Driver no longer requires the
diff --git a/c/src/lib/libbsp/m68k/gen68302/Makefile.am b/c/src/lib/libbsp/m68k/gen68302/Makefile.am
index dd18bb952a..d7d7880451 100644
--- a/c/src/lib/libbsp/m68k/gen68302/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68302/Makefile.am
@@ -28,7 +28,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
-startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
+startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
../../m68k/shared/m68kpretaskinghook.c \
diff --git a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
index bb546e0271..d0aafd4a24 100644
--- a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
@@ -77,8 +77,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
-void bsp_cleanup( void );
-
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
diff --git a/c/src/lib/libbsp/m68k/gen68302/startup/bspclean.c b/c/src/lib/libbsp/m68k/gen68302/startup/bspclean.c
deleted file mode 100644
index d5c7f04380..0000000000
--- a/c/src/lib/libbsp/m68k/gen68302/startup/bspclean.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-void bsp_cleanup( void )
-{
-}
diff --git a/c/src/lib/libbsp/m68k/gen68340/ChangeLog b/c/src/lib/libbsp/m68k/gen68340/ChangeLog
index e8bf5e1924..e7169a6642 100644
--- a/c/src/lib/libbsp/m68k/gen68340/ChangeLog
+++ b/c/src/lib/libbsp/m68k/gen68340/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: The Shared Memory Driver no longer requires the
diff --git a/c/src/lib/libbsp/m68k/gen68340/Makefile.am b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
index e0fa14e601..9c47dcaadc 100644
--- a/c/src/lib/libbsp/m68k/gen68340/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
@@ -30,7 +30,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
-startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
+startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c startup/bspstart.c startup/init68340.c \
../../shared/bootcard.c ../../m68k/shared/m68kpretaskinghook.c \
diff --git a/c/src/lib/libbsp/m68k/gen68340/include/bsp.h b/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
index 3f1106806c..942b3264af 100644
--- a/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
@@ -69,8 +69,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
-void bsp_cleanup( void );
-
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
diff --git a/c/src/lib/libbsp/m68k/gen68340/startup/bspclean.c b/c/src/lib/libbsp/m68k/gen68340/startup/bspclean.c
deleted file mode 100644
index b65531c942..0000000000
--- a/c/src/lib/libbsp/m68k/gen68340/startup/bspclean.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-void bsp_cleanup( void )
-{
- /* Cause double bus fault to force reset? */
-}
diff --git a/c/src/lib/libbsp/m68k/gen68360/ChangeLog b/c/src/lib/libbsp/m68k/gen68360/ChangeLog
index 3f78d503c9..5a51211415 100644
--- a/c/src/lib/libbsp/m68k/gen68360/ChangeLog
+++ b/c/src/lib/libbsp/m68k/gen68360/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* spi/mc68360_spidrv.c: Convert to "bool".
diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
index e2c17fb2f3..b1500a141a 100644
--- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
@@ -25,7 +25,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
startup/linkcmds.bootp
-startup_SOURCES = startup/alloc360.c startup/bspclean.c \
+startup_SOURCES = startup/alloc360.c ../../shared/bspclean.c \
../../shared/bsppredriverhook.c \
../../shared/bsplibc.c ../../shared/bsppost.c \
../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \
diff --git a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
index 5f30586daa..f108a5ddb3 100644
--- a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
@@ -83,8 +83,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
-void bsp_cleanup( void );
-
void M360ExecuteRISC( uint16_t command );
void *M360AllocateBufferDescriptors( int count );
void *M360AllocateRiscTimers( int count );
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/bspclean.c b/c/src/lib/libbsp/m68k/gen68360/startup/bspclean.c
deleted file mode 100644
index b65531c942..0000000000
--- a/c/src/lib/libbsp/m68k/gen68360/startup/bspclean.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-void bsp_cleanup( void )
-{
- /* Cause double bus fault to force reset? */
-}
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog b/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
index 948f2cee0c..6eea7c971d 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-09-08 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* i2c/i2c.c, i2c/i2cdrv.c, include/i2c.h:
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
index d53cd1e366..dacfa0a2f4 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
@@ -36,7 +36,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
startup/linkcmds.flash
-startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
+startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c \
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
startup/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
index 08354f60cf..77f7c3bf64 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
@@ -211,8 +211,6 @@ extern rtems_isr (*rtems_clock_hook)(rtems_vector_number);
/* functions */
-void bsp_cleanup( void );
-
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspclean.c b/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspclean.c
deleted file mode 100644
index 4fb551e228..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/startup/bspclean.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * MCF5206eLITE bsp_cleanup
- *
- * This routine returns control from RTEMS to the dBUG monitor.
- *
- * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia.
- * Author: Victor V. Vengerov <vvv@oktet.ru>
- *
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- *
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-/* bsp_cleanup --
- * This function called when RTEMS execution is finished. bsp_cleanup
- * for MCF5206eLITE evaluation board throw execution to the dBUG
- * monitor.
- *
- * PARAMETERS:
- * none
- *
- * RETURNS:
- * none
- */
-void
-bsp_cleanup(void)
-{
-}
diff --git a/c/src/lib/libbsp/m68k/ods68302/ChangeLog b/c/src/lib/libbsp/m68k/ods68302/ChangeLog
index 3b953c73c1..bb69253934 100644
--- a/c/src/lib/libbsp/m68k/ods68302/ChangeLog
+++ b/c/src/lib/libbsp/m68k/ods68302/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/m68k-stub.c: Convert to "bool".
diff --git a/c/src/lib/libbsp/m68k/ods68302/Makefile.am b/c/src/lib/libbsp/m68k/ods68302/Makefile.am
index 746d39ec4f..70c416aa2c 100644
--- a/c/src/lib/libbsp/m68k/ods68302/Makefile.am
+++ b/c/src/lib/libbsp/m68k/ods68302/Makefile.am
@@ -44,9 +44,9 @@ startup_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \
startup/m68302scc.c startup/m68k-stub.c \
../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \
startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
- ../../shared/bsppredriverhook.c \
- ../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \
- ../../shared/sbrk.c ../../m68k/shared/setvec.c
+ ../../shared/bsppredriverhook.c ../../shared/bsppost.c \
+ startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \
+ ../../m68k/shared/setvec.c
clock_SOURCES = clock/ckinit.c
console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
timer_SOURCES = timer/timer.c timer/timerisr.S
diff --git a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
index c699c926e1..b60dcef77d 100644
--- a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
@@ -87,8 +87,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
/* functions */
-void bsp_cleanup( void );
-
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/bspclean.c b/c/src/lib/libbsp/m68k/ods68302/startup/bspclean.c
deleted file mode 100644
index d5c7f04380..0000000000
--- a/c/src/lib/libbsp/m68k/ods68302/startup/bspclean.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-void bsp_cleanup( void )
-{
-}
diff --git a/c/src/lib/libbsp/sh/gensh2/ChangeLog b/c/src/lib/libbsp/sh/gensh2/ChangeLog
index 9f288636a0..87261422d3 100644
--- a/c/src/lib/libbsp/sh/gensh2/ChangeLog
+++ b/c/src/lib/libbsp/sh/gensh2/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization
diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am
index f6afaff594..24fa8ef713 100644
--- a/c/src/lib/libbsp/sh/gensh2/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh2/Makefile.am
@@ -36,8 +36,8 @@ CLEANFILES = scitab.c
startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
- startup/bspstart.c startup/bspclean.c ../../shared/sbrk.c \
- ../../shared/bootcard.c ../../shared/gnatinstallhandler.c
+ startup/bspstart.c ../../shared/sbrk.c ../../shared/bootcard.c \
+ ../../shared/gnatinstallhandler.c ../../shared/bspclean.c
scitab_SOURCES = scitab.c
console_SOURCES = ../../sh/shared/console.c console/config.c
debugio_SOURCES = ../../shared/dummy_printk_support.c
diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
index b0cb1cb9f3..0d42747e93 100644
--- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
@@ -84,10 +84,6 @@ extern uint32_t WorkSpaceEnd ;
extern void *CPU_Interrupt_stack_low ;
extern void *CPU_Interrupt_stack_high ;
-/* miscellaneous stuff assumed to exist */
-
-extern void bsp_cleanup( void );
-
/*
* Device Driver Table Entries
*/
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c b/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
deleted file mode 100644
index 7fb98bdd56..0000000000
--- a/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
- * Bernd Becker (becker@faw.uni-ulm.de)
- *
- * COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; If not, write to the Free Software Foundation,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *
- * COPYRIGHT (c) 1998.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include <bsp.h>
-
-void bsp_cleanup( void )
-{
-#if 0
- rtems_fatal_error_occurred(0);
-#endif
-}