aboutsummaryrefslogtreecommitdiff
path: root/plat/st
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2020-08-07 09:48:30 +0200
committerYann Gautier <yann.gautier@st.com>2020-08-14 18:56:44 +0200
commit33c91baf902d1865f70625fb57a0872baeb745f0 (patch)
tree1577d5dbfe9f44bf636caffdf847d0bfa785bb4b /plat/st
parentb693fbf4f3f8351cbd777406f340d98be314b669 (diff)
downloadtrusted-firmware-a-33c91baf902d1865f70625fb57a0872baeb745f0.tar.gz
stm32mp1: use newly introduced GICv2 makefile
Include the GICv2 makefile in STM32MP1 SP_min makefile, and use ${GICV2_SOURCES} instead of taking drivers/arm/gic files directly. Change-Id: Ibcaed5b0bd17f6d8cf200e208c11cc10cd6d2ee5 Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'plat/st')
-rw-r--r--plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk b/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk
index 5d7d495f0f..8866fb556c 100644
--- a/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk
+++ b/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk
@@ -16,9 +16,9 @@ BL32_SOURCES += drivers/st/etzpc/etzpc.c \
plat/st/stm32mp1/stm32mp1_topology.c
# 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 \
+include drivers/arm/gic/v2/gicv2.mk
+
+BL32_SOURCES += ${GICV2_SOURCES} \
plat/common/plat_gicv2.c \
plat/st/stm32mp1/stm32mp1_gic.c