diff options
author | Rob Herring <r.herring@freescale.com> | 2010-02-04 09:49:15 -0600 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-24 12:16:00 +0200 |
commit | 8c443dca0610624b4a0b676fe1f6dfb9fa95e8da (patch) | |
tree | cc60449360c46fb54c2b095777ea6a1bb0830618 /arch/arm/mach-mx37 | |
parent | 9f1ab6dd9efdb579d967437e7abd06bbe1fabd94 (diff) |
ENGR00120394-5 imx: Remove IO_ADDRESS usage for peripheral dvfs
Replace static mappings with dynamic mapping in peripheral DFVS.
Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/mach-mx37')
-rw-r--r-- | arch/arm/mach-mx37/cpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx37/cpu.c b/arch/arm/mach-mx37/cpu.c index 044b90e260cc..990c9ef669ae 100644 --- a/arch/arm/mach-mx37/cpu.c +++ b/arch/arm/mach-mx37/cpu.c @@ -24,6 +24,8 @@ #include <mach/hardware.h> #include <asm/hardware/cache-l2x0.h> +void __iomem *gpc_base; + /*! * CPU initialization. It is called by fixup_mxc_board() */ @@ -54,6 +56,8 @@ static int __init post_cpu_init(void) iram_init(IRAM_BASE_ADDR, iram_size); + gpc_base = ioremap(GPC_BASE_ADDR, SZ_4K); + /* Set ALP bits to 000. Set ALP_EN bit in Arm Memory Controller reg. */ reg = __raw_readl(MXC_ARM1176_BASE + 0x1C); reg = 0x8; |