14ced5956SRohit Mathew# 2c5c54e20SBoyan Karatotev# Copyright (c) 2018-2025, Arm Limited and Contributors. All rights reserved. 34ced5956SRohit Mathew# 44ced5956SRohit Mathew# SPDX-License-Identifier: BSD-3-Clause 54ced5956SRohit Mathew# 64ced5956SRohit Mathew 74ced5956SRohit MathewCSS_USE_SCMI_SDS_DRIVER := 1 84ced5956SRohit Mathew 94ced5956SRohit MathewNRD_COMMON_BASE := plat/arm/board/neoverse_rd/common 104ced5956SRohit Mathew 114ced5956SRohit MathewENABLE_FEAT_RAS := 1 124ced5956SRohit Mathew 134ced5956SRohit MathewSDEI_SUPPORT := 0 144ced5956SRohit Mathew 154ced5956SRohit MathewEL3_EXCEPTION_HANDLING := 0 164ced5956SRohit Mathew 174ced5956SRohit MathewHANDLE_EA_EL3_FIRST_NS := 0 184ced5956SRohit Mathew 19a1e6467bSRohit MathewNRD_CHIP_COUNT := 1 204ced5956SRohit Mathew 21a1e6467bSRohit MathewNRD_PLATFORM_VARIANT := 0 224ced5956SRohit Mathew 234ced5956SRohit Mathew# Do not enable SVE 244ced5956SRohit MathewENABLE_SVE_FOR_NS := 0 254ced5956SRohit Mathew 264ced5956SRohit MathewCTX_INCLUDE_FPREGS := 1 274ced5956SRohit Mathew 284ced5956SRohit MathewPLAT_INCLUDES += -I${NRD_COMMON_BASE}/include 294ced5956SRohit Mathew 304ced5956SRohit Mathew# GIC-600 configuration 31c5c54e20SBoyan KaratotevUSE_GIC_DRIVER := 3 324ced5956SRohit MathewGICV3_SUPPORT_GIC600 := 1 334ced5956SRohit Mathew 344ced5956SRohit MathewPLAT_BL_COMMON_SOURCES += ${NRD_COMMON_BASE}/arch/aarch64/nrd_helper.S 354ced5956SRohit Mathew 36*36fbcf4dSAhmed AzeemBL1_SOURCES += ${NRD_COMMON_BASE}/nrd_bl1_setup.c \ 374ced5956SRohit Mathew drivers/arm/sbsa/sbsa.c 384ced5956SRohit Mathew 394ced5956SRohit MathewBL2_SOURCES += ${NRD_COMMON_BASE}/nrd_image_load.c \ 404ced5956SRohit Mathew drivers/arm/css/sds/sds.c 414ced5956SRohit Mathew 42*36fbcf4dSAhmed AzeemBL31_SOURCES += ${NRD_COMMON_BASE}/nrd_bl31_setup.c \ 434ced5956SRohit Mathew ${NRD_COMMON_BASE}/nrd_topology.c \ 444ced5956SRohit Mathew drivers/delay_timer/generic_delay_timer.c 454ced5956SRohit Mathew 46a1e6467bSRohit Mathew$(eval $(call add_define,NRD_CHIP_COUNT)) 474ced5956SRohit Mathew 48a1e6467bSRohit Mathew$(eval $(call add_define,NRD_PLATFORM_VARIANT)) 494ced5956SRohit Mathew 504ced5956SRohit Mathewoverride CSS_LOAD_SCP_IMAGES := 0 514ced5956SRohit Mathewoverride NEED_BL2U := no 524ced5956SRohit Mathewoverride ARM_PLAT_MT := 1 534ced5956SRohit Mathewoverride PSCI_EXTENDED_STATE_ID := 1 544ced5956SRohit Mathewoverride ARM_RECOM_STATE_ID_ENC := 1 554ced5956SRohit Mathew 564ced5956SRohit Mathew# System coherency is managed in hardware 574ced5956SRohit MathewHW_ASSISTED_COHERENCY := 1 584ced5956SRohit Mathew 594ced5956SRohit Mathew# When building for systems with hardware-assisted coherency, there's no need to 604ced5956SRohit Mathew# use USE_COHERENT_MEM. Require that USE_COHERENT_MEM must be set to 0 too. 614ced5956SRohit MathewUSE_COHERENT_MEM := 0 624ced5956SRohit Mathew 634ced5956SRohit Mathewinclude plat/arm/common/arm_common.mk 644ced5956SRohit Mathewinclude plat/arm/css/common/css_common.mk 654ced5956SRohit Mathewinclude plat/arm/board/common/board_common.mk 66