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