summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/tqm8xx
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-21 12:00:49 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-22 09:40:23 +0100
commit07d96453a98c9df64be87eaf1f9023ba05e90297 (patch)
tree6d4b2e13511403419f36c5b8e50db71d1e9ca6b4 /c/src/lib/libbsp/powerpc/tqm8xx
parentpowerpc: Replace BSP_panic() with rtems_panic() (diff)
downloadrtems-07d96453a98c9df64be87eaf1f9023ba05e90297.tar.bz2
powerpc: Remove _BSP_Fatal_error()
BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/tqm8xx')
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
index 4cc368ad82..7e7999c66f 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
@@ -51,20 +51,6 @@ uint32_t bsp_timer_average_overhead; /* Average overhead of timer in ticks */
uint32_t bsp_timer_least_valid; /* Least valid number from timer */
bool bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */
-void _BSP_Fatal_error( unsigned n)
-{
- rtems_interrupt_level level;
-
- rtems_interrupt_disable( level);
- (void) level;
-
- printk( "%s PANIC ERROR %u\n", _RTEMS_version, n);
-
- while (1) {
- /* Do nothing */
- }
-}
-
static const char *bsp_tqm_get_cib_string( const char *cib_id)
{
char srch_pattern[10] = "";