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 | 0dc9231 | 2021-10-29 17:04:17 +0200 | [diff] [blame] | 18 | # FDT wrappers |
| 19 | include common/fdt_wrappers.mk |
| 20 | BL32_SOURCES += ${FDT_WRAPPERS_SOURCES} |
| 21 | |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 22 | # Generic GIC v2 |
Yann Gautier | d501810 | 2020-08-07 09:48:30 +0200 | [diff] [blame] | 23 | include drivers/arm/gic/v2/gicv2.mk |
| 24 | |
| 25 | BL32_SOURCES += ${GICV2_SOURCES} \ |
Yann Gautier | 9d135e4 | 2018-07-16 19:36:06 +0200 | [diff] [blame] | 26 | plat/common/plat_gicv2.c \ |
| 27 | plat/st/stm32mp1/stm32mp1_gic.c |
| 28 | |
| 29 | # Generic PSCI |
| 30 | BL32_SOURCES += plat/common/plat_psci_common.c |
Yann Gautier | 05be8d8 | 2019-01-17 14:51:25 +0100 | [diff] [blame] | 31 | |
Etienne Carriere | 34f0e93 | 2020-07-16 17:36:18 +0200 | [diff] [blame] | 32 | # SCMI server drivers |
Peng Fan | 8053e07 | 2021-01-20 11:04:08 +0800 | [diff] [blame] | 33 | BL32_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 Carriere | 34f0e93 | 2020-07-16 17:36:18 +0200 | [diff] [blame] | 38 | |
Yann Gautier | 05be8d8 | 2019-01-17 14:51:25 +0100 | [diff] [blame] | 39 | # stm32mp1 specific services |
Yann Gautier | 52448ab | 2019-01-17 14:53:24 +0100 | [diff] [blame] | 40 | BL32_SOURCES += plat/st/stm32mp1/services/bsec_svc.c \ |
Etienne Carriere | 34f0e93 | 2020-07-16 17:36:18 +0200 | [diff] [blame] | 41 | plat/st/stm32mp1/services/stm32mp1_svc_setup.c \ |
| 42 | plat/st/stm32mp1/stm32mp1_scmi.c |
Etienne Carriere | 196c2ac | 2020-06-23 09:26:15 +0200 | [diff] [blame] | 43 | |
| 44 | # Arm Archtecture services |
| 45 | BL32_SOURCES += services/arm_arch_svc/arm_arch_svc_setup.c |