|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
#include <linux/platform_device.h>
|
|
|
#include <linux/io.h>
|
|
|
-#include <linux/mfd/db8500-prcmu.h>
|
|
|
+#include <linux/mfd/dbx500-prcmu.h>
|
|
|
#include <linux/clksrc-dbx500-prcmu.h>
|
|
|
#include <linux/sys_soc.h>
|
|
|
#include <linux/err.h>
|
|
@@ -68,13 +68,16 @@ void __init ux500_init_irq(void)
|
|
|
* Init clocks here so that they are available for system timer
|
|
|
* initialization.
|
|
|
*/
|
|
|
- if (cpu_is_u8500_family() || cpu_is_u9540())
|
|
|
- db8500_prcmu_early_init();
|
|
|
-
|
|
|
- if (cpu_is_u8500_family() || cpu_is_u9540())
|
|
|
+ if (cpu_is_u8500_family()) {
|
|
|
+ prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1);
|
|
|
+ u8500_clk_init();
|
|
|
+ } else if (cpu_is_u9540()) {
|
|
|
+ prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1);
|
|
|
u8500_clk_init();
|
|
|
- else if (cpu_is_u8540())
|
|
|
+ } else if (cpu_is_u8540()) {
|
|
|
+ prcmu_early_init(U8500_PRCMU_BASE, SZ_8K + SZ_4K - 1);
|
|
|
u8540_clk_init();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void __init ux500_init_late(void)
|