2016-07-11 14:15:27 +01:00
|
|
|
#
|
2021-09-28 15:52:14 +01:00
|
|
|
# Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
|
2016-07-11 14:15:27 +01:00
|
|
|
#
|
2017-05-03 09:38:09 +01:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2016-07-11 14:15:27 +01:00
|
|
|
#
|
|
|
|
|
2021-09-28 15:52:14 +01:00
|
|
|
include common/fdt_wrappers.mk
|
|
|
|
|
2016-07-11 14:15:27 +01:00
|
|
|
# SP_MIN source files specific to FVP platform
|
2019-01-23 21:50:09 +00:00
|
|
|
BL32_SOURCES += drivers/arm/fvp/fvp_pwrc.c \
|
|
|
|
drivers/cfi/v2m/v2m_flash.c \
|
2018-10-10 11:14:44 +01:00
|
|
|
lib/utils/mem_region.c \
|
2017-08-03 09:16:43 +01:00
|
|
|
plat/arm/board/fvp/aarch32/fvp_helpers.S \
|
2016-07-11 14:15:27 +01:00
|
|
|
plat/arm/board/fvp/fvp_pm.c \
|
2020-04-16 23:54:25 +01:00
|
|
|
plat/arm/board/fvp/fvp_console.c \
|
2016-07-11 14:15:27 +01:00
|
|
|
plat/arm/board/fvp/fvp_topology.c \
|
|
|
|
plat/arm/board/fvp/sp_min/fvp_sp_min_setup.c \
|
2017-08-03 09:16:43 +01:00
|
|
|
plat/arm/common/arm_nor_psci_mem_protect.c \
|
2016-07-11 14:15:27 +01:00
|
|
|
${FVP_CPU_LIBS} \
|
|
|
|
${FVP_GIC_SOURCES} \
|
|
|
|
${FVP_INTERCONNECT_SOURCES} \
|
|
|
|
${FVP_SECURITY_SOURCES}
|
|
|
|
|
2020-01-27 19:37:51 +00:00
|
|
|
# Support for fconf in SP_MIN(BL32)
|
|
|
|
# Added separately from the above list for better readability
|
2020-03-13 18:00:17 +00:00
|
|
|
ifeq ($(filter 1,${BL2_AT_EL3} ${RESET_TO_SP_MIN}),)
|
2021-09-28 15:52:14 +01:00
|
|
|
BL32_SOURCES += lib/fconf/fconf.c \
|
2020-01-27 19:37:51 +00:00
|
|
|
plat/arm/board/fvp/fconf/fconf_hw_config_getter.c
|
2020-06-02 15:26:30 +01:00
|
|
|
|
2021-09-28 15:52:14 +01:00
|
|
|
BL32_SOURCES += ${FDT_WRAPPERS_SOURCES}
|
|
|
|
|
2020-06-02 15:26:30 +01:00
|
|
|
ifeq (${SEC_INT_DESC_IN_FCONF},1)
|
|
|
|
BL32_SOURCES += plat/arm/common/fconf/fconf_sec_intr_config.c
|
|
|
|
endif
|
|
|
|
|
2020-03-13 18:00:17 +00:00
|
|
|
endif
|
2020-01-27 19:37:51 +00:00
|
|
|
|
2017-05-03 09:38:09 +01:00
|
|
|
include plat/arm/common/sp_min/arm_sp_min.mk
|