bsp/mpc55xx: Add and use mpc55xx_fatal_code

This commit is contained in:
Sebastian Huber
2012-12-03 13:08:42 +01:00
parent 6eb0ce2161
commit fee41c9689
2 changed files with 5 additions and 1 deletions

View File

@@ -77,6 +77,10 @@ void *bsp_idle_thread(uintptr_t arg);
#define BSP_IDLE_TASK_BODY bsp_idle_thread
typedef enum {
MPC55XX_FATAL_FMPLL_LOCK
} mpc55xx_fatal_code;
#ifdef __cplusplus
}
#endif /* __cplusplus */

View File

@@ -38,7 +38,7 @@
}
if (!lock) {
bsp_reset();
rtems_fatal(RTEMS_FATAL_SOURCE_BSP_SPECIFIC, MPC55XX_FATAL_FMPLL_LOCK);
}
}
#endif