diff options
author | Steve Muckle <smuckle@codeaurora.org> | 2010-01-06 23:55:24 +0100 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-10-09 00:12:33 +0200 |
commit | 6cf6dfefe1f07f309998df8734fdc0961dbae38c (patch) | |
tree | 092132c012970725fb4bec175a6a00ef530c78e2 /arch/arm/mach-msm/io.c | |
parent | msm: create config option for proc-comm (diff) | |
download | linux-6cf6dfefe1f07f309998df8734fdc0961dbae38c.tar.xz linux-6cf6dfefe1f07f309998df8734fdc0961dbae38c.zip |
msm: io: MSM8X60 io support
MSM8X60 has different IO mappings than previous MSMs.
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/io.c')
-rw-r--r-- | arch/arm/mach-msm/io.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c index 1c05060b5f3b..d36b61074146 100644 --- a/arch/arm/mach-msm/io.c +++ b/arch/arm/mach-msm/io.c @@ -100,6 +100,21 @@ void __init msm_map_qsd8x50_io(void) } #endif /* CONFIG_ARCH_QSD8X50 */ +#ifdef CONFIG_ARCH_MSM8X60 +static struct map_desc msm8x60_io_desc[] __initdata = { + MSM_DEVICE(QGIC_DIST), + MSM_DEVICE(QGIC_CPU), + MSM_DEVICE(TMR), + MSM_DEVICE(ACC), + MSM_DEVICE(GCC), +}; + +void __init msm_map_msm8x60_io(void) +{ + iotable_init(msm8x60_io_desc, ARRAY_SIZE(msm8x60_io_desc)); +} +#endif /* CONFIG_ARCH_MSM8X60 */ + #ifdef CONFIG_ARCH_MSM7X30 static struct map_desc msm7x30_io_desc[] __initdata = { MSM_DEVICE(VIC), |