blob: c7f1225fb298e895936eb8dc48e4a3d8f79c5f40 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Wolfgang Denkff7fefe2006-03-13 12:37:35 +01002/*
3 * armboot - Startup Code for ARM926EJS CPU-core
4 *
5 * Copyright (c) 2003 Texas Instruments
6 *
7 * ----- Adapted for OMAP1610 OMAP730 from ARM925t code ------
8 *
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02009 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
10 * Copyright (c) 2002 Alex Züpke <azu@sysgo.de>
Detlev Zundel792a09e2009-05-13 10:54:10 +020011 * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de>
Wolfgang Denkff7fefe2006-03-13 12:37:35 +010012 * Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com>
13 * Copyright (c) 2003 Kshitij <kshitij@ti.com>
Wolfgang Denkff7fefe2006-03-13 12:37:35 +010014 */
15
16 .align 5
17.globl reset_cpu
18reset_cpu:
19 ldr r1, rstctl1 /* get clkm1 reset ctl */
20 mov r3, #0x0
21 strh r3, [r1] /* clear it */
22 mov r3, #0x8
23 strh r3, [r1] /* force dsp+arm reset */
24_loop_forever:
25 b _loop_forever
26
27rstctl1:
28 .word 0xfffece10