summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2412/s3c2412.c
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-07-30 22:23:36 (GMT)
committerBen Dooks <ben-linux@fluff.org>2009-07-30 22:22:54 (GMT)
commit25400036867fa7a135fca17810555400d176acaa (patch)
tree218a3194291ed60c482d75932ec7d64cf8109de6 /arch/arm/mach-s3c2412/s3c2412.c
parente13cf03eaae3792442c401860910d40f33c89a33 (diff)
downloadlinux-fsl-qoriq-25400036867fa7a135fca17810555400d176acaa.tar.xz
ARM: S3C2412: Update memory register mapping and definitions
Update the mapping of the memory controler registers and add the missing definitions of the register block for the SSMC. The register contents definitions can be found in the pl093 header. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2412/s3c2412.c')
-rw-r--r--arch/arm/mach-s3c2412/s3c2412.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2412/s3c2412.c b/arch/arm/mach-s3c2412/s3c2412.c
index 5b5aba6..bef39f7 100644
--- a/arch/arm/mach-s3c2412/s3c2412.c
+++ b/arch/arm/mach-s3c2412/s3c2412.c
@@ -69,6 +69,18 @@ static struct map_desc s3c2412_iodesc[] __initdata = {
IODESC_ENT(CLKPWR),
IODESC_ENT(TIMER),
IODESC_ENT(WATCHDOG),
+ {
+ .virtual = (unsigned long)S3C2412_VA_SSMC,
+ .pfn = __phys_to_pfn(S3C2412_PA_SSMC),
+ .length = SZ_1M,
+ .type = MT_DEVICE,
+ },
+ {
+ .virtual = (unsigned long)S3C2412_VA_EBI,
+ .pfn = __phys_to_pfn(S3C2412_PA_EBI),
+ .length = SZ_1M,
+ .type = MT_DEVICE,
+ },
};
/* uart registration process */