diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c index ad3b5485e9..2f71948f74 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c @@ -80,7 +80,7 @@ rtems_device_driver console_initialize( rtems_device_minor_number console = console_generic_minor; if (count <= 0) { - rtems_fatal_error_occurred(0xdeadbeef); + mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_GENERIC_COUNT); } rtems_termios_initialize(); @@ -90,13 +90,13 @@ rtems_device_driver console_initialize( sc = rtems_io_register_name(info->device_path, major, minor); if (sc != RTEMS_SUCCESSFUL) { - rtems_fatal_error_occurred(0xdeadbeef); + mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_GENERIC_REGISTER); } } sc = rtems_io_register_name(CONSOLE_DEVICE_NAME, major, console); if (sc != RTEMS_SUCCESSFUL) { - rtems_fatal_error_occurred(0xdeadbeef); + mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_GENERIC_REGISTER_CONSOLE); } console_generic_char_out_do_init(); |