diff options
author | Steve Muckle <smuckle@codeaurora.org> | 2010-01-06 17:55:24 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-10-08 18:12:33 -0400 |
commit | 6cf6dfefe1f07f309998df8734fdc0961dbae38c (patch) | |
tree | 092132c012970725fb4bec175a6a00ef530c78e2 /arch/arm/mach-msm/io.c | |
parent | c8aabaeb52ef6a0aeb6e8e209431b9bb01dcd287 (diff) |
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) | |||
100 | } | 100 | } |
101 | #endif /* CONFIG_ARCH_QSD8X50 */ | 101 | #endif /* CONFIG_ARCH_QSD8X50 */ |
102 | 102 | ||
103 | #ifdef CONFIG_ARCH_MSM8X60 | ||
104 | static struct map_desc msm8x60_io_desc[] __initdata = { | ||
105 | MSM_DEVICE(QGIC_DIST), | ||
106 | MSM_DEVICE(QGIC_CPU), | ||
107 | MSM_DEVICE(TMR), | ||
108 | MSM_DEVICE(ACC), | ||
109 | MSM_DEVICE(GCC), | ||
110 | }; | ||
111 | |||
112 | void __init msm_map_msm8x60_io(void) | ||
113 | { | ||
114 | iotable_init(msm8x60_io_desc, ARRAY_SIZE(msm8x60_io_desc)); | ||
115 | } | ||
116 | #endif /* CONFIG_ARCH_MSM8X60 */ | ||
117 | |||
103 | #ifdef CONFIG_ARCH_MSM7X30 | 118 | #ifdef CONFIG_ARCH_MSM7X30 |
104 | static struct map_desc msm7x30_io_desc[] __initdata = { | 119 | static struct map_desc msm7x30_io_desc[] __initdata = { |
105 | MSM_DEVICE(VIC), | 120 | MSM_DEVICE(VIC), |