summaryrefslogtreecommitdiff
path: root/cpu/arm926ejs/nomadik
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@unipv.it>2009-06-22 09:18:47 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-07-06 21:53:03 +0200
commitfd14c41a861cd38ee2fe3abd61d59b57b4eb23c9 (patch)
tree7920df6c4730ba9689c7be04a1cf40d81ab0f8f6 /cpu/arm926ejs/nomadik
parentee1363f2da3996bafdecdd8f4e48862ebff3f271 (diff)
downloadu-boot-imx-fd14c41a861cd38ee2fe3abd61d59b57b4eb23c9.zip
u-boot-imx-fd14c41a861cd38ee2fe3abd61d59b57b4eb23c9.tar.gz
u-boot-imx-fd14c41a861cd38ee2fe3abd61d59b57b4eb23c9.tar.bz2
arm nomadik: cleanup reset
There is only one public release of the Nomadik chip, so the ifdef in reset code as well as a define in the config file are not needed Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Diffstat (limited to 'cpu/arm926ejs/nomadik')
-rw-r--r--cpu/arm926ejs/nomadik/reset.S13
1 files changed, 1 insertions, 12 deletions
diff --git a/cpu/arm926ejs/nomadik/reset.S b/cpu/arm926ejs/nomadik/reset.S
index 948996b..ec95472 100644
--- a/cpu/arm926ejs/nomadik/reset.S
+++ b/cpu/arm926ejs/nomadik/reset.S
@@ -6,20 +6,9 @@
.align 5
.globl reset_cpu
reset_cpu:
-#if defined CONFIG_NOMADIK_8815
- ldr r0, =NOMADIK_SRC_BASE
+ ldr r0, =NOMADIK_SRC_BASE /* System and Reset Controller */
ldr r1, =0x1
str r1, [r0, #0x18]
-#else
- ldr r1, rstctl1 /* get clkm1 reset ctl */
- mov r3, #0x0
- strh r3, [r1] /* clear it */
- mov r3, #0x8
- strh r3, [r1] /* force dsp+arm reset */
-#endif
_loop_forever:
b _loop_forever
-
-rstctl1:
- .word 0xfffece10