summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/sa1100/start.S
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-04-15 16:13:48 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-05-15 16:24:37 +0200
commitcd6cc3440f3f8166b0ceda3c510786d8fcd64dff (patch)
tree821c9375e75a1876956770398ab1d59a784c333a /arch/arm/cpu/sa1100/start.S
parentb4ee1491b917951c0f57e18fd816a4211f5829d4 (diff)
downloadu-boot-imx-cd6cc3440f3f8166b0ceda3c510786d8fcd64dff.zip
u-boot-imx-cd6cc3440f3f8166b0ceda3c510786d8fcd64dff.tar.gz
u-boot-imx-cd6cc3440f3f8166b0ceda3c510786d8fcd64dff.tar.bz2
arm: move reset_cpu from start.S into cpu.c
CPUs arm946es and sa1100 both define the reset_cpu() function in their start.S file. Move this cpu-specific code into cpu.c so that start.S only contains ARM generic code. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'arch/arm/cpu/sa1100/start.S')
-rw-r--r--arch/arm/cpu/sa1100/start.S10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/cpu/sa1100/start.S b/arch/arm/cpu/sa1100/start.S
index bf80937..472a595 100644
--- a/arch/arm/cpu/sa1100/start.S
+++ b/arch/arm/cpu/sa1100/start.S
@@ -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