Debian Codegraph @

drivers/nxp/ifc/nand/ifc_nand.mk

raw symbols SCIP
1 #
2 # Copyright 2022 NXP
3 #
4 # SPDX-License-Identifier: BSD-3-Clause
5 #
6
7 ifeq (${NAND_ADDED},)
8
9 NAND_ADDED := 1
10
11 NAND_DRIVERS_PATH := ${PLAT_DRIVERS_PATH}/ifc/nand
12
13 NAND_SOURCES := $(NAND_DRIVERS_PATH)/ifc_nand.c \
14 drivers/io/io_block.c
15
16 PLAT_INCLUDES += -I$(PLAT_DRIVERS_INCLUDE_PATH)/ifc
17
18 ifeq (${BL_COMM_IFC_NAND_NEEDED},yes)
19 BL_COMMON_SOURCES += ${NAND_SOURCES}
20 else
21 ifeq (${BL2_IFC_NAND_NEEDED},yes)
22 BL2_SOURCES += ${NAND_SOURCES}
23 endif
24 ifeq (${BL31_IFC_NAND_NEEDED},yes)
25 BL31_SOURCES += ${NAND_SOURCES}
26 endif
27 endif
28
29 endif