summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-17 11:40:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 09:59:39 +0100
commit33cb8bf64d7b7551ea3a2e7ced5d4b56cd32d6db (patch)
tree9aca7c789c974a8e3d7538cfad7d40c4c9aef37a /c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
parentscore: Delete INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP (diff)
downloadrtems-33cb8bf64d7b7551ea3a2e7ced5d4b56cd32d6db.tar.bz2
score: Add RTEMS_FATAL_SOURCE_BSP
Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c b/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
index 8c54976de4..0c3bf0d38b 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
@@ -99,6 +99,7 @@
#include <bsp.h>
#include <rtems/bspIo.h>
+#include <bsp/fatal.h>
#include <bsp/irq.h>
#include <rtems.h>
@@ -338,7 +339,7 @@ rtems_device_driver slt_initialize
{
printk("Unable to connect PSC Irq handler\n");
- mpc5200_fatal(MPC5200_FATAL_SLICETIMER_0_IRQ_INSTALL);
+ bsp_fatal(MPC5200_FATAL_SLICETIMER_0_IRQ_INSTALL);
}
@@ -353,7 +354,7 @@ rtems_device_driver slt_initialize
{
printk("Unable to connect PSC Irq handler\n");
- mpc5200_fatal(MPC5200_FATAL_SLICETIMER_1_IRQ_INSTALL);
+ bsp_fatal(MPC5200_FATAL_SLICETIMER_1_IRQ_INSTALL);
}