Wolfgang Denk | d86ec38 | 2006-03-13 12:37:35 +0100 | [diff] [blame] | 1 | /* |
| 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 ARIBAUD | 60fbc8d | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 8 | * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> |
| 9 | * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> |
Detlev Zundel | f1b3f2b | 2009-05-13 10:54:10 +0200 | [diff] [blame] | 10 | * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de> |
Wolfgang Denk | d86ec38 | 2006-03-13 12:37:35 +0100 | [diff] [blame] | 11 | * Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com> |
| 12 | * Copyright (c) 2003 Kshitij <kshitij@ti.com> |
| 13 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 14 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | d86ec38 | 2006-03-13 12:37:35 +0100 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | .align 5 |
| 18 | .globl reset_cpu |
| 19 | reset_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 | |
| 28 | rstctl1: |
| 29 | .word 0xfffece10 |