ARM: arm1176: Define arch_cpu_init() at the SoC level
authorStephen Warren <swarren@wwwdotorg.org>
Sat, 1 Sep 2012 16:27:56 +0000 (16:27 +0000)
committerTom Rini <trini@ti.com>
Tue, 25 Sep 2012 20:27:58 +0000 (13:27 -0700)
commit59d63f7d2cad78382574beea01c85cbca96925df
tree9f562e244aca6609ba2bb01358189f4658dcde57
parent5675b509165b67465a20e5cf71e07f40b449ef0c
ARM: arm1176: Define arch_cpu_init() at the SoC level

Commit 86c6326 "ARM: arm1176: enable instruction cache in
arch_cpu_init()" defined arch_cpu_init() in a file that is shared across
all arm1176 SoCs. tnetv107x already implemented this function, which
caused linking to break. Move the new conflicting arch_cpu_init() into
arm1176/bcm2835/init.c so that it doesn't conflict; grep indicates this
function is usually defined at the SoC-level, not the CPU-level, at least
for ARM.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/arm1176/bcm2835/Makefile
arch/arm/cpu/arm1176/bcm2835/init.c [new file with mode: 0644]
arch/arm/cpu/arm1176/cpu.c