summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/common.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 09:45:39 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-05 14:20:01 +0800
commit3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70 (patch)
tree629912c57b790fb384f262452247467390dd82ce /arch/arm/mach-davinci/common.c
parent90de41375ccf8373c0a39d04547f3e3c65d90ec0 (diff)
ARM: davinci: use machine specific hook for late init
Cc: Kevin Hilman <khilman@ti.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/common.c')
-rw-r--r--arch/arm/mach-davinci/common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c
index cb9b2e47510..64b0f65a863 100644
--- a/arch/arm/mach-davinci/common.c
+++ b/arch/arm/mach-davinci/common.c
@@ -117,3 +117,10 @@ void __init davinci_common_init(struct davinci_soc_info *soc_info)
err:
panic("davinci_common_init: SoC Initialization failed\n");
}
+
+void __init davinci_init_late(void)
+{
+ davinci_cpufreq_init();
+ davinci_pm_init();
+ davinci_clk_disable_unused();
+}