diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-02-05 17:23:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-02-06 15:35:55 +0100 |
commit | c082b57502a37df0ada44c1ea8a10f768e2dc79a (patch) | |
tree | 1fbeda836beb61b564f1592335bf331455b80376 /c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c | |
parent | bsps/powerpc: Add and use ppc_cpu_is_specific_e200 (diff) | |
download | rtems-c082b57502a37df0ada44c1ea8a10f768e2dc79a.tar.bz2 |
bsp/mpc55xx: Add and use BSP specific fatal codes
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(); |