blob: 64cb7add5e96c6c22070da4206d51885f8a9af0a [file] [log] [blame]
Soby Mathew7b754182016-07-11 14:15:27 +01001#
Madhukar Pappireddyae9677b2020-01-27 13:37:51 -06002# Copyright (c) 2016-2020, ARM Limited and Contributors. All rights reserved.
Soby Mathew7b754182016-07-11 14:15:27 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Soby Mathew7b754182016-07-11 14:15:27 +01005#
6
7# SP_MIN source files specific to FVP platform
Antonio Nino Diazf13d09a2019-01-23 21:50:09 +00008BL32_SOURCES += drivers/arm/fvp/fvp_pwrc.c \
9 drivers/cfi/v2m/v2m_flash.c \
Antonio Nino Diazd7da2f82018-10-10 11:14:44 +010010 lib/utils/mem_region.c \
Roberto Vargasa1c16b62017-08-03 09:16:43 +010011 plat/arm/board/fvp/aarch32/fvp_helpers.S \
Soby Mathew7b754182016-07-11 14:15:27 +010012 plat/arm/board/fvp/fvp_pm.c \
Madhukar Pappireddyd0cf0a92020-04-16 17:54:25 -050013 plat/arm/board/fvp/fvp_console.c \
Soby Mathew7b754182016-07-11 14:15:27 +010014 plat/arm/board/fvp/fvp_topology.c \
15 plat/arm/board/fvp/sp_min/fvp_sp_min_setup.c \
Roberto Vargasa1c16b62017-08-03 09:16:43 +010016 plat/arm/common/arm_nor_psci_mem_protect.c \
Soby Mathew7b754182016-07-11 14:15:27 +010017 ${FVP_CPU_LIBS} \
18 ${FVP_GIC_SOURCES} \
19 ${FVP_INTERCONNECT_SOURCES} \
20 ${FVP_SECURITY_SOURCES}
21
Madhukar Pappireddyae9677b2020-01-27 13:37:51 -060022# Support for fconf in SP_MIN(BL32)
23# Added separately from the above list for better readability
Madhukar Pappireddyaa1121f2020-03-13 13:00:17 -050024ifeq ($(filter 1,${BL2_AT_EL3} ${RESET_TO_SP_MIN}),)
Madhukar Pappireddyae9677b2020-01-27 13:37:51 -060025BL32_SOURCES += common/fdt_wrappers.c \
26 lib/fconf/fconf.c \
27 plat/arm/board/fvp/fconf/fconf_hw_config_getter.c
Madhukar Pappireddy02cc3ff2020-06-02 09:26:30 -050028
29ifeq (${SEC_INT_DESC_IN_FCONF},1)
30BL32_SOURCES += plat/arm/common/fconf/fconf_sec_intr_config.c
31endif
32
Madhukar Pappireddyaa1121f2020-03-13 13:00:17 -050033endif
Madhukar Pappireddyae9677b2020-01-27 13:37:51 -060034
dp-armfa3cf0b2017-05-03 09:38:09 +010035include plat/arm/common/sp_min/arm_sp_min.mk