diff options
author | Simon Glass <sjg@chromium.org> | 2011-11-05 03:56:49 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-09 17:30:08 +0100 |
commit | e43d6ed932a4fbeb4c53a66bd2b7fc1f802a810e (patch) | |
tree | ca747026048461807a371896aff6cdbc9d96ed3e /include/configs | |
parent | 5fac236a9703827666df452f093d2849625afd4d (diff) | |
download | u-boot-imx-e43d6ed932a4fbeb4c53a66bd2b7fc1f802a810e.zip u-boot-imx-e43d6ed932a4fbeb4c53a66bd2b7fc1f802a810e.tar.gz u-boot-imx-e43d6ed932a4fbeb4c53a66bd2b7fc1f802a810e.tar.bz2 |
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>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/tegra2-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 9c3b9fa..16debf6 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -35,6 +35,7 @@ #define CONFIG_SYS_CACHELINE_SIZE 32 +#define CONFIG_ARCH_CPU_INIT /* Fire up the A9 core */ #define CONFIG_ENABLE_CORTEXA9 /* enable CPU (A9 complex) */ #include <asm/arch/tegra2.h> /* get chip and board defs */ |