[PATCH 1/3] ux500: Call prmcu_init only for u8500

Per Forlin per.forlin at stericsson.com
Mon Dec 6 07:52:23 EST 2010


From: Per Forlin <per.forlin at linaro.org>

PRCMU driver only supports u8500. Don't
initialize prcmu if running on u5500.

Signed-off-by: Per Forlin <per.forlin at linaro.org>
---
 arch/arm/mach-ux500/cpu.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c
index 46c372f..a3700bc 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();
 }
 
-- 
1.6.3.3




More information about the linux-arm-kernel mailing list