]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
arm_fpga: adapt to new way of including gicv3 files
authorManish Pandey <manish.pandey2@arm.com>
Fri, 3 Apr 2020 17:59:20 +0000 (18:59 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Fri, 3 Apr 2020 19:02:56 +0000 (20:02 +0100)
with commit a6ea06f5, the way platform includes gicv3 files has been
modified, this patch adapts to new method of including gicv3 files
for arm_fpga platform.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: Ic5ccae842b39b7db06d4f23c5738b174c42edf63

plat/arm/board/arm_fpga/platform.mk

index b4f38fab405c62a2326c0022005a5bbdd90c384b..302aabf386a8abf03556322c8bca1de96b93576b 100644 (file)
@@ -66,12 +66,13 @@ else
                                lib/cpus/aarch64/cortex_a75.S
 endif
 
-FPGA_GIC_SOURCES       :=      drivers/arm/gic/v3/gicv3_helpers.c      \
-                               drivers/arm/gic/v3/gicdv3_helpers.c     \
-                                drivers/arm/gic/v3/gicrv3_helpers.c     \
-                                drivers/arm/gic/v3/gicv3_main.c         \
-                               drivers/arm/gic/v3/gic600.c             \
-                               drivers/arm/gic/common/gic_common.c     \
+# GIC-600 configuration
+GICV3_IMPL             :=      GIC600
+
+# Include GICv3 driver files
+include drivers/arm/gic/v3/gicv3.mk
+
+FPGA_GIC_SOURCES       :=      ${GICV3_SOURCES}                        \
                                plat/common/plat_gicv3.c                \
                                plat/arm/board/arm_fpga/fpga_gicv3.c