diff options
author | Stepan Moskovchenko <stepanm@codeaurora.org> | 2010-12-13 21:12:19 -0500 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-01-21 18:27:56 -0500 |
commit | 50ede4e39aa5b61685ca87f58422478b1a538ca8 (patch) | |
tree | a536624f34bf9cbc779f0af926f2b10c581f6cfa /arch/arm/mach-msm | |
parent | f441ca2d403cf74ebffbc07a3ccd402efd995799 (diff) |
msm: Support for the MSM8960 RUMI3 target
Add the machine record, init code, and build support for
the MSM8960 RUMI3.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/mach-msm/board-msm8960.c | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index adca96ca4093..df9d74eaa472 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig | |||
@@ -51,7 +51,7 @@ config ARCH_MSM8X60 | |||
51 | config ARCH_MSM8960 | 51 | config ARCH_MSM8960 |
52 | bool "MSM8960" | 52 | bool "MSM8960" |
53 | select ARCH_MSM_SCORPIONMP | 53 | select ARCH_MSM_SCORPIONMP |
54 | select MACH_MSM8960_SIM | 54 | select MACH_MSM8960_SIM if (!MACH_MSM8960_RUMI3) |
55 | select ARM_GIC | 55 | select ARM_GIC |
56 | select CPU_V7 | 56 | select CPU_V7 |
57 | select MSM_V2_TLMM | 57 | select MSM_V2_TLMM |
@@ -141,6 +141,12 @@ config MACH_MSM8960_SIM | |||
141 | help | 141 | help |
142 | Support for the Qualcomm MSM8960 simulator. | 142 | Support for the Qualcomm MSM8960 simulator. |
143 | 143 | ||
144 | config MACH_MSM8960_RUMI3 | ||
145 | depends on ARCH_MSM8960 | ||
146 | bool "MSM8960 RUMI3" | ||
147 | help | ||
148 | Support for the Qualcomm MSM8960 RUMI3 emulator. | ||
149 | |||
144 | endmenu | 150 | endmenu |
145 | 151 | ||
146 | config IOMMU_PGTABLES_L2 | 152 | config IOMMU_PGTABLES_L2 |
diff --git a/arch/arm/mach-msm/board-msm8960.c b/arch/arm/mach-msm/board-msm8960.c index 90efd5472be1..2b095735f142 100644 --- a/arch/arm/mach-msm/board-msm8960.c +++ b/arch/arm/mach-msm/board-msm8960.c | |||
@@ -41,6 +41,9 @@ static void __init msm8960_init_irq(void) | |||
41 | /* Edge trigger PPIs except AVS_SVICINT and AVS_SVICINTSWDONE */ | 41 | /* Edge trigger PPIs except AVS_SVICINT and AVS_SVICINTSWDONE */ |
42 | writel(0xFFFFD7FF, MSM_QGIC_DIST_BASE + GIC_DIST_CONFIG + 4); | 42 | writel(0xFFFFD7FF, MSM_QGIC_DIST_BASE + GIC_DIST_CONFIG + 4); |
43 | 43 | ||
44 | if (machine_is_msm8960_rumi3()) | ||
45 | writel(0x0000FFFF, MSM_QGIC_DIST_BASE + GIC_DIST_ENABLE_SET); | ||
46 | |||
44 | /* FIXME: Not installing AVS_SVICINT and AVS_SVICINTSWDONE yet | 47 | /* FIXME: Not installing AVS_SVICINT and AVS_SVICINTSWDONE yet |
45 | * as they are configured as level, which does not play nice with | 48 | * as they are configured as level, which does not play nice with |
46 | * handle_percpu_irq. | 49 | * handle_percpu_irq. |
@@ -56,3 +59,10 @@ MACHINE_START(MSM8960_SIM, "QCT MSM8960 SIMULATOR") | |||
56 | .init_irq = msm8960_init_irq, | 59 | .init_irq = msm8960_init_irq, |
57 | .timer = &msm_timer, | 60 | .timer = &msm_timer, |
58 | MACHINE_END | 61 | MACHINE_END |
62 | |||
63 | MACHINE_START(MSM8960_RUMI3, "QCT MSM8960 RUMI3") | ||
64 | .map_io = msm8960_map_io, | ||
65 | .init_irq = msm8960_init_irq, | ||
66 | .timer = &msm_timer, | ||
67 | MACHINE_END | ||
68 | |||