tegra2: Add arch_cpu_init() to fire up Cortex-A9
authorSimon Glass <sjg@chromium.org>
Sat, 5 Nov 2011 03:56:49 +0000 (03:56 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 9 Dec 2011 16:30:08 +0000 (17:30 +0100)
commite43d6ed932a4fbeb4c53a66bd2b7fc1f802a810e
treeca747026048461807a371896aff6cdbc9d96ed3e
parent5fac236a9703827666df452f093d2849625afd4d
tegra2: Add arch_cpu_init() to fire up Cortex-A9

We want to move away from a special Tegra2 start-up, and just use
arch_cpu_init() instead. However, if we run board_init_f() from boot
we need to build it for ARMv4T, since the Tegra's AVP start-up CPU
does not support ARMv7.

The effect of this is to do the AVP init earlier, and in
arch_cpu_init(), rather that board_early_init_f().

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/board.c
arch/arm/cpu/armv7/tegra2/config.mk
board/nvidia/common/board.c
board/nvidia/common/board.h
include/configs/tegra2-common.h