aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSteve Muckle2010-04-21 16:20:27 -0700
committerDaniel Walker2010-10-08 15:12:32 -0700
commitc8aabaeb52ef6a0aeb6e8e209431b9bb01dcd287 (patch)
treeee53ee1dceee15a406f5ae340c7d3400cfc142da /arch
parent5d73c53b786665f991f70be01a51a23233aeb44f (diff)
msm: create config option for proc-comm
Some builds may not support the proc-comm interface with the baseband processor. Signed-off-by: Steve Muckle <smuckle@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-msm/Kconfig6
-rw-r--r--arch/arm/mach-msm/Makefile5
2 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index f09ffef4cda8..bad12f30192b 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -10,6 +10,7 @@ config ARCH_MSM7X00A
select MSM_SMD
select MSM_SMD_PKG3
select CPU_V6
+ select MSM_PROC_COMM
config ARCH_MSM7X30
bool "MSM7x30"
@@ -19,6 +20,7 @@ config ARCH_MSM7X30
select CPU_V7
select MSM_REMOTE_SPINLOCK_DEKKERS
select MSM_GPIOMUX
+ select MSM_PROC_COMM
config ARCH_QSD8X50
bool "QSD8X50"
@@ -28,6 +30,7 @@ config ARCH_QSD8X50
select CPU_V7
select MSM_REMOTE_SPINLOCK_LDREX
select MSM_GPIOMUX
+ select MSM_PROC_COMM
endchoice
config MSM_SOC_REV_A
@@ -105,6 +108,9 @@ endchoice
config MSM_SMD_PKG3
bool
+config MSM_PROC_COMM
+ bool
+
config MSM_SMD
bool
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
index c95d19a9045d..77e64100cfd1 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -1,8 +1,5 @@
-obj-y += proc_comm.o
obj-y += io.o idle.o timer.o dma.o
-obj-y += vreg.o
obj-y += acpuclock-arm11.o
-obj-y += clock.o clock-pcom.o
ifdef CONFIG_MSM_VIC
obj-y += irq-vic.o
@@ -10,6 +7,8 @@ else
obj-y += irq.o
endif
+obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o clock-pcom.o vreg.o
+obj-$(CONFIG_MSM_PROC_COMM) += clock.o
obj-$(CONFIG_ARCH_QSD8X50) += sirc.o
obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o
obj-$(CONFIG_MSM_SMD) += last_radio_log.o