summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/cpu.c
diff options
context:
space:
mode:
authorSunyoung Kang <sy0816.kang@samsung.com>2010-12-22 07:21:17 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-12-23 14:53:39 +0900
commitdd0b7e20da906b40d55f24bb2dc21abd58ed3f55 (patch)
treef4b66c9b95a8883c6633b0a9edb8ff15292baa77 /arch/arm/mach-s5pv310/cpu.c
parent09dc781e94b881d23e3c5da8c72d6832ae542938 (diff)
downloadblackbird-obmc-linux-dd0b7e20da906b40d55f24bb2dc21abd58ed3f55.tar.gz
blackbird-obmc-linux-dd0b7e20da906b40d55f24bb2dc21abd58ed3f55.zip
ARM: S5PV310: Add DMC registers and map_desc
This patch adds DMC io mapping for access it and adds registers. This is used in checking DRAM memory type. Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/cpu.c')
-rw-r--r--arch/arm/mach-s5pv310/cpu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/cpu.c b/arch/arm/mach-s5pv310/cpu.c
index 82ce4aa6d61a..283dd75effe7 100644
--- a/arch/arm/mach-s5pv310/cpu.c
+++ b/arch/arm/mach-s5pv310/cpu.c
@@ -73,6 +73,11 @@ static struct map_desc s5pv310_iodesc[] __initdata = {
.length = SZ_256,
.type = MT_DEVICE,
}, {
+ .virtual = (unsigned long)S5P_VA_DMC0,
+ .pfn = __phys_to_pfn(S5PV310_PA_DMC0),
+ .length = SZ_4K,
+ .type = MT_DEVICE,
+ }, {
.virtual = (unsigned long)S3C_VA_UART,
.pfn = __phys_to_pfn(S3C_PA_UART),
.length = SZ_512K,
OpenPOWER on IntegriCloud