summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-11-28 15:04:36 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-24 10:23:32 +0100
commit905ed41aad2f80b64b1163a55e18ee4e5278e708 (patch)
tree66b438604a81af0d65e67b61f7e91caf5d29a826 /arch
parentccdd6eaecb6c11efa884ac14336f8e9b84d6dded (diff)
tegra: Move clock_early_init() to arch_cpu_init()
The clock init is not board specific, so move it into the cpu code. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/tegra2/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/tegra2/board.c b/arch/arm/cpu/armv7/tegra2/board.c
index d0a599edc5c..803ddc15d93 100644
--- a/arch/arm/cpu/armv7/tegra2/board.c
+++ b/arch/arm/cpu/armv7/tegra2/board.c
@@ -84,6 +84,9 @@ int arch_cpu_init(void)
/* We didn't do this init in start.S, so do it now */
cpu_init_cp15();
+ /* Initialize essential common plls */
+ clock_early_init();
+
return 0;
}
#endif