diff --git a/Kbuild b/Kbuild index e304b59074..058389947b 100644 --- a/Kbuild +++ b/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 diff --git a/Kconfig b/Kconfig index 72e0516df1..9ebe2c5c64 100644 --- a/Kconfig +++ b/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