blob: 1c557b0d9106bd0ab71183a8d3f3f03dcbfcbb42 [file] [log] [blame]
Wolfgang Denkd86ec382006-03-13 12:37:35 +01001/*
2 * armboot - Startup Code for ARM926EJS CPU-core
3 *
4 * Copyright (c) 2003 Texas Instruments
5 *
6 * ----- Adapted for OMAP1610 OMAP730 from ARM925t code ------
7 *
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +02008 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
9 * Copyright (c) 2002 Alex Züpke <azu@sysgo.de>
Detlev Zundelf1b3f2b2009-05-13 10:54:10 +020010 * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de>
Wolfgang Denkd86ec382006-03-13 12:37:35 +010011 * Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com>
12 * Copyright (c) 2003 Kshitij <kshitij@ti.com>
13 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020014 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denkd86ec382006-03-13 12:37:35 +010015 */
16
17 .align 5
18.globl reset_cpu
19reset_cpu:
20 ldr r1, rstctl1 /* get clkm1 reset ctl */
21 mov r3, #0x0
22 strh r3, [r1] /* clear it */
23 mov r3, #0x8
24 strh r3, [r1] /* force dsp+arm reset */
25_loop_forever:
26 b _loop_forever
27
28rstctl1:
29 .word 0xfffece10