sp_min-stm32mp1.mk 1.2 KB
Newer Older
1
#
2
# Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
3
4
5
6
7
8
#
# SPDX-License-Identifier: BSD-3-Clause
#

SP_MIN_WITH_SECURE_FIQ	:=	1

9
10
BL32_CFLAGS		+=	-DSTM32MP_SHARED_RESOURCES

11
12
BL32_SOURCES		+=	drivers/st/etzpc/etzpc.c			\
				plat/common/aarch32/platform_mp_stack.S		\
13
14
				plat/st/stm32mp1/sp_min/sp_min_setup.c		\
				plat/st/stm32mp1/stm32mp1_pm.c			\
15
				plat/st/stm32mp1/stm32mp1_shared_resources.c	\
16
				plat/st/stm32mp1/stm32mp1_topology.c
17

18
19
20
21
22
23
24
25
26
# Generic GIC v2
BL32_SOURCES		+=	drivers/arm/gic/common/gic_common.c	\
				drivers/arm/gic/v2/gicv2_helpers.c	\
				drivers/arm/gic/v2/gicv2_main.c		\
				plat/common/plat_gicv2.c		\
				plat/st/stm32mp1/stm32mp1_gic.c

# Generic PSCI
BL32_SOURCES		+=	plat/common/plat_psci_common.c
27

28
29
30
31
32
33
34
# SCMI server drivers
BL32_SOURCES		+=	drivers/st/scmi-msg/base.c		\
				drivers/st/scmi-msg/clock.c		\
				drivers/st/scmi-msg/entry.c		\
				drivers/st/scmi-msg/reset_domain.c	\
				drivers/st/scmi-msg/smt.c

35
# stm32mp1 specific services
Yann Gautier's avatar
Yann Gautier committed
36
BL32_SOURCES		+=	plat/st/stm32mp1/services/bsec_svc.c		\
37
38
				plat/st/stm32mp1/services/stm32mp1_svc_setup.c	\
				plat/st/stm32mp1/stm32mp1_scmi.c
39
40
41

# Arm Archtecture services
BL32_SOURCES		+=	services/arm_arch_svc/arm_arch_svc_setup.c