aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c64xx/cpu.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-21 14:07:07 +0100
committerBen Dooks <ben-linux@fluff.org>2008-10-21 14:12:25 +0100
commitb829c1973c115339cfa2e41c65c5cb29e06ded08 (patch)
treec03117a35bc17816e0fd13b41b48e15b6ef3b138 /arch/arm/plat-s3c64xx/cpu.c
parent4caffb5cb2e6bd378f359d25906d9781a66e4e1d (diff)
[ARM] S3C64XX: Map GPIO block
Add mapping for GPIO block in the static mappings. 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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c64xx/cpu.c b/arch/arm/plat-s3c64xx/cpu.c
index 2559d6afc31..0bbc0e2dc5d 100644
--- a/arch/arm/plat-s3c64xx/cpu.c
+++ b/arch/arm/plat-s3c64xx/cpu.c
@@ -92,6 +92,11 @@ static struct map_desc s3c_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S3C_PA_TIMER),
.length = SZ_16K,
.type = MT_DEVICE,
+ }, {
+ .virtual = S3C64XX_VA_GPIO,
+ .pfn = __phys_to_pfn(S3C64XX_PA_GPIO),
+ .length = SZ_4K,
+ .type = MT_DEVICE,
},
};