build(versal-net): reorganize platform source files

Reorganize the platform source files necessary across various
Bootloader (BL) configurations within the platform makefile.
This reordering aims to prevent redundant inclusions of these files
across multiple makefiles used for distinct features.

Change-Id: I9c5525dd8522cb8c8e3ad6add70189dcb7cfcc29
Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
This commit is contained in:
Akshay Belsare 2023-11-08 14:27:22 +05:30 committed by Akshay Belsare
parent 01610b0d32
commit 4622da467d
2 changed files with 4 additions and 7 deletions

View file

@ -93,7 +93,9 @@ PLAT_BL_COMMON_SOURCES := \
plat/arm/common/arm_common.c \
plat/common/plat_gicv3.c \
${PLAT_PATH}/aarch64/versal_net_helpers.S \
${PLAT_PATH}/aarch64/versal_net_common.c
${PLAT_PATH}/aarch64/versal_net_common.c \
${PLAT_PATH}/plat_topology.c \
${XLAT_TABLES_LIB_SRCS}
BL31_SOURCES += drivers/arm/cci/cci.c \
lib/cpus/aarch64/cortex_a78_ae.S \
@ -116,10 +118,8 @@ BL31_SOURCES += plat/xilinx/common/plat_fdt.c \
plat/xilinx/common/ipi_mailbox_service/ipi_mailbox_svc.c \
plat/xilinx/common/versal.c \
${PLAT_PATH}/bl31_versal_net_setup.c \
${PLAT_PATH}/plat_topology.c \
common/fdt_fixup.c \
common/fdt_wrappers.c \
${LIBFDT_SRCS} \
${PLAT_PATH}/sip_svc_setup.c \
${PLAT_PATH}/versal_net_gicv3.c \
${XLAT_TABLES_LIB_SRCS}
${PLAT_PATH}/versal_net_gicv3.c

View file

@ -8,6 +8,3 @@
PLAT_XILINX_COMMON := plat/xilinx/common/
include ${PLAT_XILINX_COMMON}/tsp/tsp.mk
BL32_SOURCES += plat/xilinx/versal_net/plat_topology.c \
${XLAT_TABLES_LIB_SRCS}