Maheedhar Bollapalli | 7dbb6c1 | 2024-10-04 03:22:30 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | XLNX_COMMON_PATH := plat/xilinx/common |
| 8 | VERSAL2_PATH := plat/amd/versal2 |
| 9 | |
| 10 | PLAT_INCLUDES := -I${XLNX_COMMON_PATH}/include/ \ |
| 11 | -I${VERSAL2_PATH}/include/ |
| 12 | |
| 13 | PLAT_SOURCES := drivers/arm/gic/arm_gic_v2v3.c \ |
| 14 | drivers/arm/gic/gic_common.c \ |
| 15 | drivers/arm/gic/gic_v2.c \ |
| 16 | drivers/arm/gic/gic_v3.c \ |
| 17 | drivers/arm/pl011/${ARCH}/pl011_console.S \ |
| 18 | drivers/arm/timer/private_timer.c \ |
| 19 | drivers/console/console.c \ |
| 20 | ${VERSAL2_PATH}/versal2_setup.c \ |
| 21 | ${VERSAL2_PATH}/versal2_pwr_state.c \ |
| 22 | ${VERSAL2_PATH}/aarch64/plat_helpers.S \ |
| 23 | ${XLNX_COMMON_PATH}/timer/timers.c |
| 24 | |
| 25 | PLAT_TESTS_SKIP_LIST := ${VERSAL2_PATH}/tests_to_skip.txt |
| 26 | |
| 27 | ifeq ($(USE_NVM),1) |
| 28 | $(error "Versal2 port of TFTF doesn't currently support USE_NVM=1") |
| 29 | endif |