瀏覽代碼

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>
Per Forlin 15 年之前
父節點
當前提交
9b04f8b907
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      arch/arm/mach-ux500/cpu.c

+ 2 - 1
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();
 }