arm: move reset_cpu from start.S into cpu.c
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 Apr 2014 14:13:48 +0000 (16:13 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 15 May 2014 14:24:37 +0000 (16:24 +0200)
commitcd6cc3440f3f8166b0ceda3c510786d8fcd64dff
tree821c9375e75a1876956770398ab1d59a784c333a
parentb4ee1491b917951c0f57e18fd816a4211f5829d4
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>
arch/arm/cpu/arm946es/cpu.c
arch/arm/cpu/arm946es/start.S
arch/arm/cpu/sa1100/cpu.c
arch/arm/cpu/sa1100/start.S