blob: 94a3928f8848d6b0421c12d859ad782ba96a2663 [file] [log] [blame]
Aditya Angadie6508952019-07-21 22:13:45 +05301# Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
2#
3# SPDX-License-Identifier: BSD-3-Clause
4#
5
Vijayenthiran Subramaniam1360d7e2020-04-06 17:54:42 +05306# RD-Daniel platform uses GIC-Clayton which is based on GICv4.1
7GIC_ENABLE_V4_EXTN := 1
8
Aditya Angadie6508952019-07-21 22:13:45 +05309include plat/arm/css/sgi/sgi-common.mk
10
11RDDANIEL_BASE = plat/arm/board/rddaniel
12
13PLAT_INCLUDES += -I${RDDANIEL_BASE}/include/
14
15SGI_CPU_SOURCES := lib/cpus/aarch64/neoverse_zeus.S
16
17BL1_SOURCES += ${SGI_CPU_SOURCES} \
18 ${RDDANIEL_BASE}/rddaniel_err.c
19
20BL2_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 Pathak30b20142020-02-12 10:08:55 +053024 drivers/arm/tzc/tzc400.c \
25 plat/arm/common/arm_tzc400.c \
Aditya Angadie6508952019-07-21 22:13:45 +053026 plat/arm/common/arm_nor_psci_mem_protect.c
27
28BL31_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 Mayencourt9fdfae32020-02-12 09:26:09 +000036FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_fw_config.dts
37TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
Aditya Angadie6508952019-07-21 22:13:45 +053038
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
42FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_nt_fw_config.dts
43NT_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
48override CTX_INCLUDE_AARCH32_REGS := 0