1# 2# Copyright (c) 2017-2022, ARM Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7ifeq ($(STM32MP13),1) 8$(error "SP_min is not supported on STM32MP13 platform") 9endif 10 11SP_MIN_WITH_SECURE_FIQ := 1 12 13override ENABLE_PIE := 1 14BL32_CFLAGS += -fpie -DENABLE_PIE 15BL32_LDFLAGS += $(PIE_LDFLAGS) 16 17BL32_CFLAGS += -DSTM32MP_SHARED_RESOURCES 18 19BL32_SOURCES += drivers/st/etzpc/etzpc.c \ 20 plat/common/aarch32/platform_mp_stack.S \ 21 plat/st/stm32mp1/sp_min/sp_min_setup.c \ 22 plat/st/stm32mp1/stm32mp1_pm.c \ 23 plat/st/stm32mp1/stm32mp1_shared_resources.c \ 24 plat/st/stm32mp1/stm32mp1_topology.c 25 26# FDT wrappers 27include common/fdt_wrappers.mk 28BL32_SOURCES += ${FDT_WRAPPERS_SOURCES} 29 30# Generic GIC v2 31include drivers/arm/gic/v2/gicv2.mk 32 33BL32_SOURCES += ${GICV2_SOURCES} \ 34 plat/common/plat_gicv2.c \ 35 plat/st/stm32mp1/stm32mp1_gic.c 36 37# Generic PSCI 38BL32_SOURCES += plat/common/plat_psci_common.c 39 40# SCMI server drivers 41BL32_SOURCES += drivers/scmi-msg/base.c \ 42 drivers/scmi-msg/clock.c \ 43 drivers/scmi-msg/entry.c \ 44 drivers/scmi-msg/reset_domain.c \ 45 drivers/scmi-msg/smt.c 46 47# stm32mp1 specific services 48BL32_SOURCES += plat/st/stm32mp1/services/bsec_svc.c \ 49 plat/st/stm32mp1/services/stm32mp1_svc_setup.c \ 50 plat/st/stm32mp1/stm32mp1_scmi.c 51 52# Arm Archtecture services 53BL32_SOURCES += services/arm_arch_svc/arm_arch_svc_setup.c 54