Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 1 | # |
Yann Gautier | 05be8d8 | 2019-01-17 14:51:25 +0100 | [diff] [blame] | 2 | # Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | SP_MIN_WITH_SECURE_FIQ := 1 |
| 8 | |
Etienne Carriere | 7ad2c01 | 2019-12-08 08:14:03 +0100 | [diff] [blame] | 9 | BL32_CFLAGS += -DSTM32MP_SHARED_RESOURCES |
| 10 | |
Etienne Carriere | e96162e | 2020-04-10 11:32:54 +0200 | [diff] [blame] | 11 | BL32_SOURCES += drivers/st/etzpc/etzpc.c \ |
| 12 | plat/common/aarch32/platform_mp_stack.S \ |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 13 | plat/st/stm32mp1/sp_min/sp_min_setup.c \ |
| 14 | plat/st/stm32mp1/stm32mp1_pm.c \ |
Etienne Carriere | 7ad2c01 | 2019-12-08 08:14:03 +0100 | [diff] [blame] | 15 | plat/st/stm32mp1/stm32mp1_shared_resources.c \ |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 16 | plat/st/stm32mp1/stm32mp1_topology.c |
Etienne Carriere | e96162e | 2020-04-10 11:32:54 +0200 | [diff] [blame] | 17 | |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 18 | # Generic GIC v2 |
Yann Gautier | d501810 | 2020-08-07 09:48:30 +0200 | [diff] [blame] | 19 | include drivers/arm/gic/v2/gicv2.mk |
| 20 | |
| 21 | BL32_SOURCES += ${GICV2_SOURCES} \ |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 22 | plat/common/plat_gicv2.c \ |
| 23 | plat/st/stm32mp1/stm32mp1_gic.c |
| 24 | |
| 25 | # Generic PSCI |
| 26 | BL32_SOURCES += plat/common/plat_psci_common.c |
Yann Gautier | 05be8d8 | 2019-01-17 14:51:25 +0100 | [diff] [blame] | 27 | |
Etienne Carriere | 34f0e93 | 2020-07-16 17:36:18 +0200 | [diff] [blame] | 28 | # SCMI server drivers |
| 29 | BL32_SOURCES += drivers/st/scmi-msg/base.c \ |
| 30 | drivers/st/scmi-msg/clock.c \ |
| 31 | drivers/st/scmi-msg/entry.c \ |
| 32 | drivers/st/scmi-msg/reset_domain.c \ |
| 33 | drivers/st/scmi-msg/smt.c |
| 34 | |
Yann Gautier | 05be8d8 | 2019-01-17 14:51:25 +0100 | [diff] [blame] | 35 | # stm32mp1 specific services |
Yann Gautier | 52448ab | 2019-01-17 14:53:24 +0100 | [diff] [blame] | 36 | BL32_SOURCES += plat/st/stm32mp1/services/bsec_svc.c \ |
Etienne Carriere | 34f0e93 | 2020-07-16 17:36:18 +0200 | [diff] [blame] | 37 | plat/st/stm32mp1/services/stm32mp1_svc_setup.c \ |
| 38 | plat/st/stm32mp1/stm32mp1_scmi.c |
Etienne Carriere | 196c2ac | 2020-06-23 09:26:15 +0200 | [diff] [blame] | 39 | |
| 40 | # Arm Archtecture services |
| 41 | BL32_SOURCES += services/arm_arch_svc/arm_arch_svc_setup.c |