source: rtems/c/src/lib/libbsp/arm/edb7312/startup/bspreset.c @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 465 bytes
Line 
1/*
2 *  Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.org/license/LICENSE.
7 */
8
9#include <bsp.h>
10#include <ep7312.h>
11
12void bsp_reset(void)
13{
14#if ON_SKYEYE == 1
15  #define SKYEYE_MAGIC_ADDRESS (*(volatile unsigned int *)(0xb0000000))
16
17  SKYEYE_MAGIC_ADDRESS = 0xff;
18#else
19  __asm__ volatile ("b _start");
20#endif
21}
Note: See TracBrowser for help on using the repository browser.