summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/cpu.c
diff options
context:
space:
mode:
authorPer Forlin <per.forlin@linaro.org>2010-12-05 14:27:05 +0300
committerLinus Walleij <linus.walleij@stericsson.com>2010-12-08 15:15:23 +0300
commit9b04f8b9070e60fe9d335613ec538223c159a5c9 (patch)
treed63c3cec66bdd70abb1b64dc150aa876964425fd /arch/arm/mach-ux500/cpu.c
parent592b2f254d68b6eb8665658cc7d8fc3cd61ebc94 (diff)
downloadlinux-9b04f8b9070e60fe9d335613ec538223c159a5c9.tar.xz
ux500: Call prmcu_init only for u8500
PRCMU driver only supports u8500. Don't initialize prcmu if running on u5500. Signed-off-by: Per Forlin <per.forlin@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/cpu.c')
-rw-r--r--arch/arm/mach-ux500/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c
index 46c372fb806d..a3700bc374d3 100644
--- a/arch/arm/mach-ux500/cpu.c
+++ b/arch/arm/mach-ux500/cpu.c
@@ -59,7 +59,8 @@ void __init ux500_init_irq(void)
* Init clocks here so that they are available for system timer
* initialization.
*/
- prcmu_early_init();
+ if (cpu_is_u8500())
+ prcmu_early_init();
clk_init();
}