diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 09:06:57 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 16:52:51 -0500 |
commit | f982dc5321848ca6150a7a2c2bb3e28bddcf5ebe (patch) | |
tree | a854a69febfa17e3503da09d3c8d58384c678c82 /arch/arm/plat-s3c64xx/cpu.c | |
parent | e550ae741663e4708dcdad3fc392db156189c77c (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.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c64xx/cpu.c b/arch/arm/plat-s3c64xx/cpu.c index dc7bf112ec05..2559d6afc317 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 = { | |||
87 | .pfn = __phys_to_pfn(S3C64XX_PA_VIC1), | 87 | .pfn = __phys_to_pfn(S3C64XX_PA_VIC1), |
88 | .length = SZ_16K, | 88 | .length = SZ_16K, |
89 | .type = MT_DEVICE, | 89 | .type = MT_DEVICE, |
90 | }, { | ||
91 | .virtual = S3C_VA_TIMER, | ||
92 | .pfn = __phys_to_pfn(S3C_PA_TIMER), | ||
93 | .length = SZ_16K, | ||
94 | .type = MT_DEVICE, | ||
90 | }, | 95 | }, |
91 | }; | 96 | }; |
92 | 97 | ||
93 | /* read cpu identification code */ | 98 | /* read cpu identification code */ |
94 | 99 | ||
95 | |||
96 | void __init s3c64xx_init_io(struct map_desc *mach_desc, int size) | 100 | void __init s3c64xx_init_io(struct map_desc *mach_desc, int size) |
97 | { | 101 | { |
98 | unsigned long idcode; | 102 | unsigned long idcode; |