Aditya Angadi | e650895 | 2019-07-21 22:13:45 +0530 | [diff] [blame] | 1 | # Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. |
| 2 | # |
| 3 | # SPDX-License-Identifier: BSD-3-Clause |
| 4 | # |
| 5 | |
Vijayenthiran Subramaniam | 1360d7e | 2020-04-06 17:54:42 +0530 | [diff] [blame] | 6 | # RD-Daniel platform uses GIC-Clayton which is based on GICv4.1 |
| 7 | GIC_ENABLE_V4_EXTN := 1 |
| 8 | |
Aditya Angadi | e650895 | 2019-07-21 22:13:45 +0530 | [diff] [blame] | 9 | include plat/arm/css/sgi/sgi-common.mk |
| 10 | |
| 11 | RDDANIEL_BASE = plat/arm/board/rddaniel |
| 12 | |
| 13 | PLAT_INCLUDES += -I${RDDANIEL_BASE}/include/ |
| 14 | |
| 15 | SGI_CPU_SOURCES := lib/cpus/aarch64/neoverse_zeus.S |
| 16 | |
| 17 | BL1_SOURCES += ${SGI_CPU_SOURCES} \ |
| 18 | ${RDDANIEL_BASE}/rddaniel_err.c |
| 19 | |
| 20 | BL2_SOURCES += ${RDDANIEL_BASE}/rddaniel_plat.c \ |
| 21 | ${RDDANIEL_BASE}/rddaniel_security.c \ |
| 22 | ${RDDANIEL_BASE}/rddaniel_err.c \ |
| 23 | lib/utils/mem_region.c \ |
Suyash Pathak | 30b2014 | 2020-02-12 10:08:55 +0530 | [diff] [blame] | 24 | drivers/arm/tzc/tzc400.c \ |
| 25 | plat/arm/common/arm_tzc400.c \ |
Aditya Angadi | e650895 | 2019-07-21 22:13:45 +0530 | [diff] [blame] | 26 | plat/arm/common/arm_nor_psci_mem_protect.c |
| 27 | |
| 28 | BL31_SOURCES += ${SGI_CPU_SOURCES} \ |
| 29 | ${RDDANIEL_BASE}/rddaniel_plat.c \ |
| 30 | ${RDDANIEL_BASE}/rddaniel_topology.c \ |
| 31 | drivers/cfi/v2m/v2m_flash.c \ |
| 32 | lib/utils/mem_region.c \ |
| 33 | plat/arm/common/arm_nor_psci_mem_protect.c |
| 34 | |
| 35 | # Add the FDT_SOURCES and options for Dynamic Config |
Louis Mayencourt | 9fdfae3 | 2020-02-12 09:26:09 +0000 | [diff] [blame] | 36 | FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_fw_config.dts |
| 37 | TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb |
Aditya Angadi | e650895 | 2019-07-21 22:13:45 +0530 | [diff] [blame] | 38 | |
| 39 | # Add the TB_FW_CONFIG to FIP and specify the same to certtool |
| 40 | $(eval $(call TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config)) |
| 41 | |
| 42 | FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_nt_fw_config.dts |
| 43 | NT_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_nt_fw_config.dtb |
| 44 | |
| 45 | # Add the NT_FW_CONFIG to FIP and specify the same to certtool |
| 46 | $(eval $(call TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config)) |
| 47 | |
| 48 | override CTX_INCLUDE_AARCH32_REGS := 0 |