]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm1136/omap24xx/reset.S
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / arm1136 / omap24xx / reset.S
1 /*
2  *  armboot - Startup Code for OMP2420/ARM1136 CPU-core
3  *
4  *  Copyright (c) 2004  Texas Instruments <r-woodruff2@ti.com>
5  *
6  *  Copyright (c) 2001  Marius Gröger <mag@sysgo.de>
7  *  Copyright (c) 2002  Alex Züpke <azu@sysgo.de>
8  *  Copyright (c) 2002  Gary Jennejohn <garyj@denx.de>
9  *  Copyright (c) 2003  Richard Woodruff <r-woodruff2@ti.com>
10  *  Copyright (c) 2003  Kshitij <kshitij@ti.com>
11  *
12  * SPDX-License-Identifier:     GPL-2.0+ 
13  */
14
15 #include <asm/arch/omap2420.h>
16
17 .globl reset_cpu
18 reset_cpu:
19         ldr     r1, rstctl      /* get addr for global reset reg */
20         mov     r3, #0x2        /* full reset pll+mpu */
21         str     r3, [r1]        /* force reset */
22         mov     r0, r0
23 _loop_forever:
24         b       _loop_forever
25 rstctl:
26         .word   PM_RSTCTRL_WKUP