blob: 4d4820afa01ae7a4be1cc26d4f79deef7eab73c4 [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 Gautier9d135e42018-07-16 19:36:06 +020018# Generic GIC v2
Yann Gautierd5018102020-08-07 09:48:30 +020019include drivers/arm/gic/v2/gicv2.mk
20
21BL32_SOURCES += ${GICV2_SOURCES} \
Yann Gautier9d135e42018-07-16 19:36:06 +020022 plat/common/plat_gicv2.c \
23 plat/st/stm32mp1/stm32mp1_gic.c
24
25# Generic PSCI
26BL32_SOURCES += plat/common/plat_psci_common.c
Yann Gautier05be8d82019-01-17 14:51:25 +010027
Etienne Carriere34f0e932020-07-16 17:36:18 +020028# SCMI server drivers
Peng Fan8053e072021-01-20 11:04:08 +080029BL32_SOURCES += drivers/scmi-msg/base.c \
30 drivers/scmi-msg/clock.c \
31 drivers/scmi-msg/entry.c \
32 drivers/scmi-msg/reset_domain.c \
33 drivers/scmi-msg/smt.c
Etienne Carriere34f0e932020-07-16 17:36:18 +020034
Yann Gautier05be8d82019-01-17 14:51:25 +010035# stm32mp1 specific services
Yann Gautier52448ab2019-01-17 14:53:24 +010036BL32_SOURCES += plat/st/stm32mp1/services/bsec_svc.c \
Etienne Carriere34f0e932020-07-16 17:36:18 +020037 plat/st/stm32mp1/services/stm32mp1_svc_setup.c \
38 plat/st/stm32mp1/stm32mp1_scmi.c
Etienne Carriere196c2ac2020-06-23 09:26:15 +020039
40# Arm Archtecture services
41BL32_SOURCES += services/arm_arch_svc/arm_arch_svc_setup.c