blob: ebb283b6f6dc428bbc91b48f7ca7fce770cae198 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#include <rtems.h>
#include <bsp.h>
#include <bsp/bootcard.h>
void bsp_reset(void)
{
/* shutdown and reboot */
*((uint32_t*)0xff009000) = 0xf3; /* use watchdog */
}
|