summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gba/startup/bspreset.c
blob: 1c064232bfc38757c0efdb1084012c6810bc7d04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 *  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 <bsp.h>
#include <bsp/bootcard.h>

void bsp_reset(void)
{
  __asm__ volatile ("ldr  r0, =_gba_reset");
  __asm__ volatile ("bx   r0");
}