summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2011-09-26 12:55:28 +0200
committerJonas ABERG <jonas.aberg@stericsson.com>2011-09-29 09:08:30 +0200
commitf958a6dbec609ac38ed315fbc01643594b8e94b7 (patch)
treeca5e6a491a6c802e3e29db694e68419b30098ba5
parente6e8211d709e9375d12f6b9c3ee101559e02239a (diff)
ux500: clocks: remove workaround for u5500 v1
Change-Id: I31761cef055ef1c7e7093c01aa1a5545a3625b05 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32147 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/clock.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c
index 6eb7f9d311e..2f9ca7ea64d 100644
--- a/arch/arm/mach-ux500/clock.c
+++ b/arch/arm/mach-ux500/clock.c
@@ -428,8 +428,6 @@ struct clkops prcc_kclk_ops = {
.disable = prcc_kclk_disable,
};
-/* TODO: Move to proper place */
-#define PRCM_DBG_PWRCTL 0x4AC
int __init clk_init(void)
{
@@ -444,14 +442,8 @@ int __init clk_init(void)
if (cpu_is_u8500())
db8500_clk_init();
- else if (cpu_is_u5500()) {
- unsigned int temp = 0;
+ else if (cpu_is_u5500())
db5500_clk_init();
- if (cpu_is_u5500v1())
- temp = readl(prcmu_base + PRCM_DBG_PWRCTL);
- temp |= 0x18;
- writel(temp, (prcmu_base + PRCM_DBG_PWRCTL));
- }
return 0;
}