diff options
Diffstat (limited to 'arch/arm/mach-ux500/cpu.c')
-rw-r--r-- | arch/arm/mach-ux500/cpu.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index 5a43107c6232..1da23bb87c16 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c | |||
@@ -8,6 +8,8 @@ | |||
8 | #include <linux/platform_device.h> | 8 | #include <linux/platform_device.h> |
9 | #include <linux/io.h> | 9 | #include <linux/io.h> |
10 | #include <linux/clk.h> | 10 | #include <linux/clk.h> |
11 | #include <linux/mfd/db8500-prcmu.h> | ||
12 | #include <linux/mfd/db5500-prcmu.h> | ||
11 | 13 | ||
12 | #include <asm/cacheflush.h> | 14 | #include <asm/cacheflush.h> |
13 | #include <asm/hardware/cache-l2x0.h> | 15 | #include <asm/hardware/cache-l2x0.h> |
@@ -19,10 +21,11 @@ | |||
19 | #include <mach/hardware.h> | 21 | #include <mach/hardware.h> |
20 | #include <mach/setup.h> | 22 | #include <mach/setup.h> |
21 | #include <mach/devices.h> | 23 | #include <mach/devices.h> |
22 | #include <mach/prcmu.h> | ||
23 | 24 | ||
24 | #include "clock.h" | 25 | #include "clock.h" |
25 | 26 | ||
27 | void __iomem *_PRCMU_BASE; | ||
28 | |||
26 | #ifdef CONFIG_CACHE_L2X0 | 29 | #ifdef CONFIG_CACHE_L2X0 |
27 | static void __iomem *l2x0_base; | 30 | static void __iomem *l2x0_base; |
28 | #endif | 31 | #endif |
@@ -47,6 +50,8 @@ void __init ux500_init_irq(void) | |||
47 | * Init clocks here so that they are available for system timer | 50 | * Init clocks here so that they are available for system timer |
48 | * initialization. | 51 | * initialization. |
49 | */ | 52 | */ |
53 | if (cpu_is_u5500()) | ||
54 | db5500_prcmu_early_init(); | ||
50 | if (cpu_is_u8500()) | 55 | if (cpu_is_u8500()) |
51 | prcmu_early_init(); | 56 | prcmu_early_init(); |
52 | clk_init(); | 57 | clk_init(); |