blob: 183d8026ad467b782bb135e27ea4f78e3ef46cd1 [file] [log] [blame]
Soby Mathew7b754182016-07-11 14:15:27 +01001#
Manish V Badarkhe86854e72022-03-15 16:05:58 +00002# Copyright (c) 2016-2022, 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
Chris Kaye9272152021-09-28 15:52:14 +01007include common/fdt_wrappers.mk
8
Soby Mathew7b754182016-07-11 14:15:27 +01009# SP_MIN source files specific to FVP platform
Antonio Nino Diazf13d09a2019-01-23 21:50:09 +000010BL32_SOURCES += drivers/arm/fvp/fvp_pwrc.c \
11 drivers/cfi/v2m/v2m_flash.c \
Antonio Nino Diazd7da2f82018-10-10 11:14:44 +010012 lib/utils/mem_region.c \
Roberto Vargasa1c16b62017-08-03 09:16:43 +010013 plat/arm/board/fvp/aarch32/fvp_helpers.S \
Soby Mathew7b754182016-07-11 14:15:27 +010014 plat/arm/board/fvp/fvp_pm.c \
Madhukar Pappireddyd0cf0a92020-04-16 17:54:25 -050015 plat/arm/board/fvp/fvp_console.c \
Soby Mathew7b754182016-07-11 14:15:27 +010016 plat/arm/board/fvp/fvp_topology.c \
17 plat/arm/board/fvp/sp_min/fvp_sp_min_setup.c \
Roberto Vargasa1c16b62017-08-03 09:16:43 +010018 plat/arm/common/arm_nor_psci_mem_protect.c \
Soby Mathew7b754182016-07-11 14:15:27 +010019 ${FVP_CPU_LIBS} \
20 ${FVP_GIC_SOURCES} \
21 ${FVP_INTERCONNECT_SOURCES} \
22 ${FVP_SECURITY_SOURCES}
23
Madhukar Pappireddyae9677b2020-01-27 13:37:51 -060024# Support for fconf in SP_MIN(BL32)
25# Added separately from the above list for better readability
Madhukar Pappireddyaa1121f2020-03-13 13:00:17 -050026ifeq ($(filter 1,${BL2_AT_EL3} ${RESET_TO_SP_MIN}),)
Chris Kaye9272152021-09-28 15:52:14 +010027BL32_SOURCES += lib/fconf/fconf.c \
Manish V Badarkhe86854e72022-03-15 16:05:58 +000028 lib/fconf/fconf_dyn_cfg_getter.c \
29 plat/arm/board/fvp/fconf/fconf_hw_config_getter.c \
Madhukar Pappireddy02cc3ff2020-06-02 09:26:30 -050030
Chris Kaye9272152021-09-28 15:52:14 +010031BL32_SOURCES += ${FDT_WRAPPERS_SOURCES}
32
Madhukar Pappireddy02cc3ff2020-06-02 09:26:30 -050033ifeq (${SEC_INT_DESC_IN_FCONF},1)
34BL32_SOURCES += plat/arm/common/fconf/fconf_sec_intr_config.c
35endif
36
Madhukar Pappireddyaa1121f2020-03-13 13:00:17 -050037endif
Madhukar Pappireddyae9677b2020-01-27 13:37:51 -060038
dp-armfa3cf0b2017-05-03 09:38:09 +010039include plat/arm/common/sp_min/arm_sp_min.mk