From 1c193a26d227a42a1ea76564950488f48189dbde Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 21 Nov 2017 11:43:13 +0100 Subject: powerpc: Replace BSP_panic() with rtems_panic() Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245. --- c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c') diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c index 3aa165961e..b1f02190a5 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c @@ -103,13 +103,6 @@ static void _BSP_GPLED1_off(void) csr->bcsr0 |= GP1_LED; /* Turn off GP1 LED */ } -void BSP_panic(char *s) -{ - _BSP_GPLED1_on(); - printk("%s PANIC %s\n",_RTEMS_version, s); - __asm__ __volatile ("sc"); -} - void _BSP_Fatal_error(unsigned int v) { _BSP_GPLED0_on(); -- cgit v1.2.3