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>
select MSM_SMD
select MSM_SMD_PKG3
select CPU_V6
+ select MSM_PROC_COMM
config ARCH_MSM7X30
bool "MSM7x30"
select CPU_V7
select MSM_REMOTE_SPINLOCK_DEKKERS
select MSM_GPIOMUX
+ select MSM_PROC_COMM
config ARCH_QSD8X50
bool "QSD8X50"
select CPU_V7
select MSM_REMOTE_SPINLOCK_LDREX
select MSM_GPIOMUX
+ select MSM_PROC_COMM
endchoice
config MSM_SOC_REV_A
config MSM_SMD_PKG3
bool
+config MSM_PROC_COMM
+ bool
+
config MSM_SMD
bool
-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
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