Browse Source

qcacld-3.0: Add Kbuild configuration

Add QCA_PADDR_CHECK_ON_3RD_PARTY_PLATFORM configuration
in Kbuild.

Change-Id: I1a0c2e5666ba1d608f56767c15591e8f4a367363
CRs-Fixed: 3459203
Zhiwei Yang 2 years ago
parent
commit
b5cb91eed4
2 changed files with 5 additions and 0 deletions
  1. 1 0
      Kbuild
  2. 4 0
      Kconfig

+ 1 - 0
Kbuild

@@ -3363,6 +3363,7 @@ endif
 endif
 
 ccflags-$(CONFIG_QCA_DMA_PADDR_CHECK) += -DQCA_DMA_PADDR_CHECK
+ccflags-$(CONFIG_PADDR_CHECK_ON_3RD_PARTY_PLATFORM) += -DQCA_PADDR_CHECK_ON_3RD_PARTY_PLATFORM
 ccflags-$(CONFIG_DP_TRAFFIC_END_INDICATION) += -DDP_TRAFFIC_END_INDICATION
 ccflags-$(CONFIG_THERMAL_STATS_SUPPORT) += -DTHERMAL_STATS_SUPPORT
 ccflags-$(CONFIG_PTT_SOCK_SVC_ENABLE) += -DPTT_SOCK_SVC_ENABLE

+ 4 - 0
Kconfig

@@ -143,4 +143,8 @@ config QCA_DMA_PADDR_CHECK
 	bool "Enable dma memory addr check"
 	default n
 
+config PADDR_CHECK_ON_3RD_PARTY_PLATFORM
+	bool "Enable data path memory addr check on third-party platforms"
+	default n
+
 endif # QCA_CLD_WLAN