ux500: Call prmcu_init only for u8500
authorPer Forlin <per.forlin@linaro.org>
Sun, 5 Dec 2010 11:27:05 +0000 (12:27 +0100)
committerLinus Walleij <linus.walleij@stericsson.com>
Wed, 8 Dec 2010 12:15:23 +0000 (13:15 +0100)
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>
arch/arm/mach-ux500/cpu.c

index 46c372f..a3700bc 100644 (file)
@@ -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();
 }