[PATCH] erc32,leon2: replace bsp_reset with SPARC fatal handler
Daniel Hellstrom
daniel at gaisler.com
Mon Oct 6 12:53:57 UTC 2014
Now that a SPARC fatal handler is defined, we no longer
need the BSP specific reset routine.
---
c/src/lib/libbsp/sparc/erc32/configure.ac | 2 +-
c/src/lib/libbsp/sparc/leon2/configure.ac | 2 +-
c/src/lib/libbsp/sparc/shared/start/start.S | 7 -------
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac
index 72a75d1..57047e0 100644
--- a/c/src/lib/libbsp/sparc/erc32/configure.ac
+++ b/c/src/lib/libbsp/sparc/erc32/configure.ac
@@ -48,7 +48,7 @@ RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT],
[If defined, CPU is spinning on fatal exit. Otherwise generate system
error which will hand over to debugger, simulator, etc.])
-RTEMS_BSP_CLEANUP_OPTIONS(0,1,1)
+RTEMS_BSP_CLEANUP_OPTIONS(0, 0, 1)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
diff --git a/c/src/lib/libbsp/sparc/leon2/configure.ac b/c/src/lib/libbsp/sparc/leon2/configure.ac
index dd49a17..854460b 100644
--- a/c/src/lib/libbsp/sparc/leon2/configure.ac
+++ b/c/src/lib/libbsp/sparc/leon2/configure.ac
@@ -41,7 +41,7 @@ RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT],
[If defined, CPU is spinning on fatal exit. Otherwise generate system
error which will hand over to debugger, simulator, etc.])
-RTEMS_BSP_CLEANUP_OPTIONS(0, 1, 1)
+RTEMS_BSP_CLEANUP_OPTIONS(0, 0, 1)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
diff --git a/c/src/lib/libbsp/sparc/shared/start/start.S b/c/src/lib/libbsp/sparc/shared/start/start.S
index 8f10000..eb8e3c4 100644
--- a/c/src/lib/libbsp/sparc/shared/start/start.S
+++ b/c/src/lib/libbsp/sparc/shared/start/start.S
@@ -365,11 +365,4 @@ zerobss:
call SYM(boot_card) ! does not return
sub %sp, 0x60, %sp ! room for boot_card to save args
-#if !defined(START_LEON3_ENABLE_SMP)
- PUBLIC(bsp_reset)
-SYM(bsp_reset):
- call SYM(BSP_fatal_exit)
- clr %o0
-#endif
-
/* end of file */
--
1.7.0.4
More information about the devel
mailing list