summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-01 14:28:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-02 15:27:33 +0200
commit245cad54f23b708d0a58874a8bd273b296434c77 (patch)
treecc8407e0dc4cf9bde1b340cc3dc12522b6030867 /c/src/lib/libbsp/powerpc/mpc55xxevb/include
parentbsp/mpc55xx: Add and use MPC55XX_CHIP_FAMILY (diff)
downloadrtems-245cad54f23b708d0a58874a8bd273b296434c77.tar.bz2
bsp/mpc55xx: Fix bsp_idle_thread()
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/include')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h
index e1b1405014..a72f4daa03 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h
@@ -74,18 +74,9 @@ rtems_status_code bsp_register_i2c(void);
void bsp_restart(void *addr);
-#if MPC55XX_CHIP_TYPE / 10 == 567
- static void *mpc55xx_idle_task(uintptr_t arg)
- {
- while (true) {
- __asm__ volatile ("wait");
- }
-
- return NULL;
- }
-
- #define BSP_IDLE_TASK_BODY mpc55xx_idle_task
-#endif
+void *bsp_idle_thread(uintptr_t arg);
+
+#define BSP_IDLE_TASK_BODY bsp_idle_thread
#endif /* ASM */