Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Wolfgang Denk | ff7fefe | 2006-03-13 12:37:35 +0100 | [diff] [blame] | 2 | /* |
| 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 ARIBAUD | fa82f87 | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 9 | * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> |
| 10 | * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> |
Detlev Zundel | 792a09e | 2009-05-13 10:54:10 +0200 | [diff] [blame] | 11 | * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de> |
Wolfgang Denk | ff7fefe | 2006-03-13 12:37:35 +0100 | [diff] [blame] | 12 | * Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com> |
| 13 | * Copyright (c) 2003 Kshitij <kshitij@ti.com> |
Wolfgang Denk | ff7fefe | 2006-03-13 12:37:35 +0100 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | .align 5 |
| 17 | .globl reset_cpu |
| 18 | reset_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 | |
| 27 | rstctl1: |
| 28 | .word 0xfffece10 |