blob: 239b60af4472b889b3ebb26a6926da247a70a5d0 [file] [log] [blame]
Yann Gautier9d135e42018-07-16 19:36:06 +02001#
Yann Gautier05be8d82019-01-17 14:51:25 +01002# Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
Yann Gautier9d135e42018-07-16 19:36:06 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7SP_MIN_WITH_SECURE_FIQ := 1
8
Etienne Carriere7ad2c012019-12-08 08:14:03 +01009BL32_CFLAGS += -DSTM32MP_SHARED_RESOURCES
10
Etienne Carrieree96162e2020-04-10 11:32:54 +020011BL32_SOURCES += drivers/st/etzpc/etzpc.c \
12 plat/common/aarch32/platform_mp_stack.S \
Yann Gautier9d135e42018-07-16 19:36:06 +020013 plat/st/stm32mp1/sp_min/sp_min_setup.c \
14 plat/st/stm32mp1/stm32mp1_pm.c \
Etienne Carriere7ad2c012019-12-08 08:14:03 +010015 plat/st/stm32mp1/stm32mp1_shared_resources.c \
Yann Gautier9d135e42018-07-16 19:36:06 +020016 plat/st/stm32mp1/stm32mp1_topology.c
Etienne Carrieree96162e2020-04-10 11:32:54 +020017
Yann Gautier0dc92312021-10-29 17:04:17 +020018# FDT wrappers
19include common/fdt_wrappers.mk
20BL32_SOURCES += ${FDT_WRAPPERS_SOURCES}
21
Yann Gautier9d135e42018-07-16 19:36:06 +020022# Generic GIC v2
Yann Gautierd5018102020-08-07 09:48:30 +020023include drivers/arm/gic/v2/gicv2.mk
24
25BL32_SOURCES += ${GICV2_SOURCES} \
Yann Gautier9d135e42018-07-16 19:36:06 +020026 plat/common/plat_gicv2.c \
27 plat/st/stm32mp1/stm32mp1_gic.c
28
29# Generic PSCI
30BL32_SOURCES += plat/common/plat_psci_common.c
Yann Gautier05be8d82019-01-17 14:51:25 +010031
Etienne Carriere34f0e932020-07-16 17:36:18 +020032# SCMI server drivers
Peng Fan8053e072021-01-20 11:04:08 +080033BL32_SOURCES += drivers/scmi-msg/base.c \
34 drivers/scmi-msg/clock.c \
35 drivers/scmi-msg/entry.c \
36 drivers/scmi-msg/reset_domain.c \
37 drivers/scmi-msg/smt.c
Etienne Carriere34f0e932020-07-16 17:36:18 +020038
Yann Gautier05be8d82019-01-17 14:51:25 +010039# stm32mp1 specific services
Yann Gautier52448ab2019-01-17 14:53:24 +010040BL32_SOURCES += plat/st/stm32mp1/services/bsec_svc.c \
Etienne Carriere34f0e932020-07-16 17:36:18 +020041 plat/st/stm32mp1/services/stm32mp1_svc_setup.c \
42 plat/st/stm32mp1/stm32mp1_scmi.c
Etienne Carriere196c2ac2020-06-23 09:26:15 +020043
44# Arm Archtecture services
45BL32_SOURCES += services/arm_arch_svc/arm_arch_svc_setup.c