]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/sa1100/start.S
arm: move reset_cpu from start.S into cpu.c
[karo-tx-uboot.git] / arch / arm / cpu / sa1100 / start.S
index bf80937a7c7b42f5d8a82ed388f8fd389b4580ed..472a595ad81508b96b50cc29b4d4b287dab79af0 100644 (file)
@@ -337,13 +337,3 @@ fiq:
        bl      do_fiq
 
 #endif
-
-       .align  5
-.globl reset_cpu
-reset_cpu:
-       ldr     r0, RST_BASE
-       mov     r1, #0x0                        @ set bit 3-0 ...
-       str     r1, [r0, #RCSR]                 @ ... to clear in RCSR
-       mov     r1, #0x1
-       str     r1, [r0, #RSRR]                 @ and perform reset
-       b       reset_cpu                       @ silly, but repeat endlessly