summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210/cpu.c
diff options
context:
space:
mode:
authorJaecheol Lee <jc.lee@samsung.com>2010-09-15 10:57:37 +0400
committerKukjin Kim <kgene.kim@samsung.com>2010-10-21 02:52:17 +0400
commit1d826d14cc2783d0c09750c2e1eeb2bdd358769b (patch)
tree639f9e039291ac3c152eb2158d8f5678f5e25107 /arch/arm/mach-s5pv210/cpu.c
parent2a5555822ea83d583b46437cff6829eec0166475 (diff)
downloadlinux-1d826d14cc2783d0c09750c2e1eeb2bdd358769b.tar.xz
ARM: S5PV210: Add DMC map_desc table for supporting DMC access
This patch adds DMC(DRAM Memory Controller) map_desc table. Because some driver such as CPUFREQ need to access DMC register. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/cpu.c')
-rw-r--r--arch/arm/mach-s5pv210/cpu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c
index 2f16bfc0a116..3347a23074b4 100644
--- a/arch/arm/mach-s5pv210/cpu.c
+++ b/arch/arm/mach-s5pv210/cpu.c
@@ -85,6 +85,16 @@ static struct map_desc s5pv210_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S5PV210_PA_SROMC),
.length = SZ_4K,
.type = MT_DEVICE,
+ }, {
+ .virtual = (unsigned long)S5P_VA_DMC0,
+ .pfn = __phys_to_pfn(S5PV210_PA_DMC0),
+ .length = SZ_4K,
+ .type = MT_DEVICE,
+ }, {
+ .virtual = (unsigned long)S5P_VA_DMC1,
+ .pfn = __phys_to_pfn(S5PV210_PA_DMC1),
+ .length = SZ_4K,
+ .type = MT_DEVICE,
}
};