blob: c7e3c7dd86ef4dbaf58cabd69ca8c3bbc1ae9827 [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
6include plat/arm/css/sgi/sgi-common.mk
7
8RDDANIEL_BASE = plat/arm/board/rddaniel
9
10PLAT_INCLUDES += -I${RDDANIEL_BASE}/include/
11
12SGI_CPU_SOURCES := lib/cpus/aarch64/neoverse_zeus.S
13
14BL1_SOURCES += ${SGI_CPU_SOURCES} \
15 ${RDDANIEL_BASE}/rddaniel_err.c
16
17BL2_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
23BL31_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
Louis Mayencourt9fdfae32020-02-12 09:26:09 +000031FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_fw_config.dts
32TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
Aditya Angadie6508952019-07-21 22:13:45 +053033
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
37FDT_SOURCES += ${RDDANIEL_BASE}/fdts/${PLAT}_nt_fw_config.dts
38NT_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
43override CTX_INCLUDE_AARCH32_REGS := 0