aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mm-imx3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mm-imx3.c')
-rw-r--r--arch/arm/mach-imx/mm-imx3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
index 74127389e7ab..57b39f839f9e 100644
--- a/arch/arm/mach-imx/mm-imx3.c
+++ b/arch/arm/mach-imx/mm-imx3.c
@@ -31,6 +31,10 @@
31#include <mach/iomux-v3.h> 31#include <mach/iomux-v3.h>
32#include <mach/irqs.h> 32#include <mach/irqs.h>
33 33
34#include "crmregs-imx3.h"
35
36void __iomem *mx3_ccm_base;
37
34static void imx3_idle(void) 38static void imx3_idle(void)
35{ 39{
36 unsigned long reg = 0; 40 unsigned long reg = 0;
@@ -137,6 +141,7 @@ void __init imx31_init_early(void)
137 mxc_arch_reset_init(MX31_IO_ADDRESS(MX31_WDOG_BASE_ADDR)); 141 mxc_arch_reset_init(MX31_IO_ADDRESS(MX31_WDOG_BASE_ADDR));
138 arch_ioremap_caller = imx3_ioremap_caller; 142 arch_ioremap_caller = imx3_ioremap_caller;
139 arm_pm_idle = imx3_idle; 143 arm_pm_idle = imx3_idle;
144 mx3_ccm_base = MX31_IO_ADDRESS(MX31_CCM_BASE_ADDR);
140} 145}
141 146
142void __init mx31_init_irq(void) 147void __init mx31_init_irq(void)
@@ -210,6 +215,7 @@ void __init imx35_init_early(void)
210 mxc_arch_reset_init(MX35_IO_ADDRESS(MX35_WDOG_BASE_ADDR)); 215 mxc_arch_reset_init(MX35_IO_ADDRESS(MX35_WDOG_BASE_ADDR));
211 arm_pm_idle = imx3_idle; 216 arm_pm_idle = imx3_idle;
212 arch_ioremap_caller = imx3_ioremap_caller; 217 arch_ioremap_caller = imx3_ioremap_caller;
218 mx3_ccm_base = MX35_IO_ADDRESS(MX35_CCM_BASE_ADDR);
213} 219}
214 220
215void __init mx35_init_irq(void) 221void __init mx35_init_irq(void)