1#
2# Copyright (c) 2016-2023, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7include common/fdt_wrappers.mk
8
9# SP_MIN source files specific to FVP platform
10BL32_SOURCES		+=	drivers/arm/fvp/fvp_pwrc.c			\
11				drivers/cfi/v2m/v2m_flash.c			\
12				lib/utils/mem_region.c				\
13				plat/arm/board/fvp/aarch32/fvp_helpers.S	\
14				plat/arm/board/fvp/fvp_pm.c			\
15				plat/arm/board/fvp/fvp_console.c		\
16				plat/arm/board/fvp/fvp_topology.c		\
17				plat/arm/board/fvp/sp_min/fvp_sp_min_setup.c	\
18				plat/arm/common/arm_nor_psci_mem_protect.c	\
19				${FVP_CPU_LIBS}					\
20				${FVP_GIC_SOURCES}				\
21				${FVP_INTERCONNECT_SOURCES}			\
22				${FVP_SECURITY_SOURCES}
23
24# Support for fconf in SP_MIN(BL32)
25# Added separately from the above list for better readability
26ifeq ($(filter 1,${RESET_TO_BL2} ${RESET_TO_SP_MIN}),)
27BL32_SOURCES		+=	lib/fconf/fconf.c				\
28				lib/fconf/fconf_dyn_cfg_getter.c		\
29				plat/arm/board/fvp/fconf/fconf_hw_config_getter.c \
30
31BL32_SOURCES		+=	${FDT_WRAPPERS_SOURCES}
32
33ifeq (${SEC_INT_DESC_IN_FCONF},1)
34BL32_SOURCES		+=	plat/arm/common/fconf/fconf_sec_intr_config.c
35endif
36
37endif
38
39include plat/arm/common/sp_min/arm_sp_min.mk
40