qcacld-3.0: Enable SMMU S1 for Lahaina platform
Enable IPA SMMU S1 translation feature flag for Lahaina target. asm/dma-iommu.h file is removed in latest 5.4 kernel, resulting in include failure. Remove as it is unused for version 5.4 and above. Change-Id: Ie2147f2fc2debad4d700fae5414d1d3becb28f13 CRs-Fixed: 2638580
This commit is contained in:
parent
b4a87f73a9
commit
9d37c64121
@ -729,6 +729,12 @@ CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_LAHAINA), y)
|
||||
ifeq ($(CONFIG_IPA_OFFLOAD), y)
|
||||
CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_HELIUMPLUS), y)
|
||||
ifneq ($(CONFIG_ARCH_SDM630), y)
|
||||
ifneq ($(CONFIG_ARCH_SDM660), y)
|
||||
|
@ -64,7 +64,9 @@
|
||||
#include "dp_txrx.h"
|
||||
#ifdef ENABLE_SMMU_S1_TRANSLATION
|
||||
#include "pld_common.h"
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0))
|
||||
#include <asm/dma-iommu.h>
|
||||
#endif
|
||||
#include <linux/iommu.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user