]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/cpu/arm1136/omap24xx/reset.S
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / cpu / arm1136 / omap24xx / reset.S
CommitLineData
5252ed95
SH
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>
792a09eb 8 * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de>
5252ed95
SH
9 * Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com>
10 * Copyright (c) 2003 Kshitij <kshitij@ti.com>
11 *
1a459660 12 * SPDX-License-Identifier: GPL-2.0+
5252ed95
SH
13 */
14
15#include <asm/arch/omap2420.h>
16
17.globl reset_cpu
18reset_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
25rstctl:
26 .word PM_RSTCTRL_WKUP