summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-23 15:28:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-23 15:28:23 +0000
commit3e2f58a17c16ca8bdb2cc74ee6b1602fd80a5e84 (patch)
tree2ee0c967c81ac488d290bfccac6df8ecda5417b9 /c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c
parent2008-09-23 Eric Norum <norume@aps.anl.gov> (diff)
downloadrtems-3e2f58a17c16ca8bdb2cc74ee6b1602fd80a5e84.tar.bz2
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Rename existing bsp_reset() to bsp_sysReset() since the prototype did not match the standard one. Add standard bsp_reset(). * startup/bspreset.c: New file.
Diffstat (limited to 'c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c')
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c b/c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c
new file mode 100644
index 0000000000..13f430305b
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/uC5282/startup/bspreset.c
@@ -0,0 +1,19 @@
+/*
+ * COPYRIGHT (c) 1989-2008.
+ * 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>
+#include <bsp/bootcard.h>
+
+void bsp_reset(void)
+{
+ bsp_sysReset(0);
+}