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 | |
| 6 | include plat/arm/css/sgi/sgi-common.mk |
| 7 | |
| 8 | RDDANIEL_BASE = plat/arm/board/rddaniel |
| 9 | |
| 10 | PLAT_INCLUDES += -I${RDDANIEL_BASE}/include/ |
| 11 | |
| 12 | SGI_CPU_SOURCES := lib/cpus/aarch64/neoverse_zeus.S |
| 13 | |
| 14 | BL1_SOURCES += ${SGI_CPU_SOURCES} \ |
| 15 | ${RDDANIEL_BASE}/rddaniel_err.c |
| 16 | |
| 17 | BL2_SOURCES += ${RDDANIEL_BASE}/rddaniel_plat.c \ |
| 18 | ${RDDANIEL_BASE}/rddaniel_security.c \ |
| 19 | ${RDDANIEL_BASE}/rddaniel_err.c \ |
| 20 | lib/utils/mem_region.c \ |
| 21 | plat/arm/common/arm_nor_psci_mem_protect.c |
| 22 | |
| 23 | BL31_SOURCES += ${SGI_CPU_SOURCES} \ |
| 24 | ${RDDANIEL_BASE}/rddaniel_plat.c \ |
| 25 | ${RDDANIEL_BASE}/rddaniel_topology.c \ |
| 26 | drivers/cfi/v2m/v2m_flash.c \ |
| 27 | lib/utils/mem_region.c \ |
| 28 | plat/arm/common/arm_nor_psci_mem_protect.c |
| 29 | |
| 30 | # Add the FDT_SOURCES and options for Dynamic Config |
| 31 | FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_tb_fw_config.dts |
| 32 | TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_tb_fw_config.dtb |
| 33 | |
| 34 | # Add the TB_FW_CONFIG to FIP and specify the same to certtool |
| 35 | $(eval $(call TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config)) |
| 36 | |
| 37 | FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_nt_fw_config.dts |
| 38 | NT_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_nt_fw_config.dtb |
| 39 | |
| 40 | # Add the NT_FW_CONFIG to FIP and specify the same to certtool |
| 41 | $(eval $(call TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config)) |
| 42 | |
| 43 | override CTX_INCLUDE_AARCH32_REGS := 0 |