qcacld-3.0: Add PLD layer
PLD stands for platform driver. It is a interface between CLD and CNSS/ICNSS. It hides the CNSS/ICNSS APIs from CLD and provides a set of common APIs. Other modules should include pld_common.h if they want to call PLD APIs. CRs-Fixed: 979275 Change-Id: I3571fc70f502dc367c65f13b412cd5d37ee41d3c
Este commit está contenido en:

cometido por
Vishwajith Upendra

padre
69e89e4f2d
commit
d9f7a36529
21
Kbuild
21
Kbuild
@@ -847,6 +847,23 @@ ifeq ($(CONFIG_MPC_UT_FRAMEWORK),y)
|
||||
WMA_OBJS += $(WMA_SRC_DIR)/wma_utils_ut.o
|
||||
endif
|
||||
|
||||
############## PLD ##########
|
||||
PLD_DIR := core/pld
|
||||
PLD_INC_DIR := $(PLD_DIR)/inc
|
||||
PLD_SRC_DIR := $(PLD_DIR)/src
|
||||
|
||||
PLD_INC := -I$(WLAN_ROOT)/$(PLD_INC_DIR) \
|
||||
-I$(WLAN_ROOT)/$(PLD_SRC_DIR)
|
||||
|
||||
PLD_OBJS := $(PLD_SRC_DIR)/pld_common.o
|
||||
|
||||
ifeq ($(CONFIG_PCI), y)
|
||||
PLD_OBJS += $(PLD_SRC_DIR)/pld_pcie.o
|
||||
endif
|
||||
ifeq ($(CONFIG_ICNSS),y)
|
||||
PLD_OBJS += $(PLD_SRC_DIR)/pld_snoc.o
|
||||
endif
|
||||
|
||||
TARGET_INC := -I$(WLAN_ROOT)/target/inc
|
||||
|
||||
LINUX_INC := -Iinclude/linux
|
||||
@@ -884,6 +901,8 @@ INCS += $(NLINK_INC) \
|
||||
$(PTT_INC) \
|
||||
$(WLAN_LOGGING_INC)
|
||||
|
||||
INCS += $(PLD_INC)
|
||||
|
||||
ifeq ($(CONFIG_REMOVE_PKT_LOG), 0)
|
||||
INCS += $(PKTLOG_INC)
|
||||
endif
|
||||
@@ -917,6 +936,8 @@ OBJS += $(WLAN_LOGGING_OBJS)
|
||||
OBJS += $(NLINK_OBJS)
|
||||
OBJS += $(PTT_OBJS)
|
||||
|
||||
OBJS += $(PLD_OBJS)
|
||||
|
||||
ifeq ($(CONFIG_REMOVE_PKT_LOG), 0)
|
||||
OBJS += $(PKTLOG_OBJS)
|
||||
endif
|
||||
|
Referencia en una nueva incidencia
Block a user