From c8aabaeb52ef6a0aeb6e8e209431b9bb01dcd287 Mon Sep 17 00:00:00 2001 From: Steve Muckle Date: Wed, 21 Apr 2010 16:20:27 -0700 Subject: [PATCH] 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 Signed-off-by: Daniel Walker --- arch/arm/mach-msm/Kconfig | 6 ++++++ arch/arm/mach-msm/Makefile | 5 ++--- 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