aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c64xx/cpu.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-21 14:06:57 +0100
committerBen Dooks <ben-linux@fluff.org>2008-12-15 21:52:51 +0000
commitf982dc5321848ca6150a7a2c2bb3e28bddcf5ebe (patch)
treea854a69febfa17e3503da09d3c8d58384c678c82 /arch/arm/plat-s3c64xx/cpu.c
parente550ae741663e4708dcdad3fc392db156189c77c (diff)
[ARM] S3C64XX: Map timer memory and interrupts
Add the physical to virtual memory mapping and the necessary interrupt demuxing for the PWM timer blocks. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx/cpu.c')
-rw-r--r--arch/arm/plat-s3c64xx/cpu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c64xx/cpu.c b/arch/arm/plat-s3c64xx/cpu.c
index dc7bf112ec0..2559d6afc31 100644
--- a/arch/arm/plat-s3c64xx/cpu.c
+++ b/arch/arm/plat-s3c64xx/cpu.c
@@ -87,12 +87,16 @@ static struct map_desc s3c_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S3C64XX_PA_VIC1),
.length = SZ_16K,
.type = MT_DEVICE,
+ }, {
+ .virtual = S3C_VA_TIMER,
+ .pfn = __phys_to_pfn(S3C_PA_TIMER),
+ .length = SZ_16K,
+ .type = MT_DEVICE,
},
};
/* read cpu identification code */
-
void __init s3c64xx_init_io(struct map_desc *mach_desc, int size)
{
unsigned long idcode;