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-10-21 14:12:21 +0100
commit9262458c8a1ae9ce327a66d9d095ad9a012d64a0 (patch)
tree612791c5c9d8709c21fe7f7df2629947ec91dd80 /arch/arm/plat-s3c64xx/cpu.c
parent8aa5788b2f522bf0afdbac65ea349c7d50df3b55 (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;