qcacld-3.0: Kbuild: Define CONFIG_ENABLE_SMMU_S1_TRANSLATION

Currently the switch -DENABLE_SMMU_S1_TRANSLATION is inferred by
examining two different configuration options. In order to clearly
separate setting the configuration from applying the configuration
create a new CONFIG_ENABLE_SMMU_S1_TRANSLATION configuration
parameter.

Change-Id: Ibfa0cfbad5342895d90a32ddcf46a9d851253dcb
CRs-Fixed: 2222912
This commit is contained in:
Jeff Johnson
2018-04-11 10:34:14 -07:00
committed by nshrivas
szülő fe6f0b0dc8
commit 84f243c437

14
Kbuild
Fájl megtekintése

@@ -387,6 +387,13 @@ ifeq ($(CONFIG_IPA3), y)
CONFIG_IPA_OFFLOAD := y
endif
#Flag to enable SMMU S1 support
ifeq ($(CONFIG_ARCH_SDM845), y)
ifeq ($(CONFIG_IPA_OFFLOAD), y)
CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
endif
endif
#Enable Signed firmware support for split binary format
CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
@@ -2537,12 +2544,7 @@ ifeq ($(CONFIG_DYNAMIC_DEBUG), y)
CDEFINES += -DFEATURE_MULTICAST_HOST_FW_MSGS
endif
#Flag to enable SMMU S1 support
ifeq ($(CONFIG_ARCH_SDM845), y)
ifeq ($(CONFIG_IPA_OFFLOAD), y)
CDEFINES += -DENABLE_SMMU_S1_TRANSLATION
endif
endif
ccflags-$(CONFIG_ENABLE_SMMU_S1_TRANSLATION) += -DENABLE_SMMU_S1_TRANSLATION
#Flag to enable NUD tracking
ifeq ($(CONFIG_WLAN_NUD_TRACKING), y)