summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
blob: 036cbb4c844a7fe065e153bbab43ff3d3d023d16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <bsp.h>
#include <rtems/bspIo.h>

void bsp_cleanup(
  uint32_t status
)
{
  /* We can't go back to MotLoad since we blew it's memory area
   * and vectors. Just pull the reset line...
   */
  printk(
    "bsp_cleanup(): RTEMS terminated -- no way back to MotLoad "
      "so I reset the card\n"
  );
  bsp_reset();
}