blob: 44f7b8a52651a6b8766af92653c4a714a021fdcf [file] [log] [blame]
Deepak Pandey9cbacf62018-08-08 10:32:51 +05301#
Alexei Fedorov2f13d6c2020-02-21 10:17:26 +00002# Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
Deepak Pandey9cbacf62018-08-08 10:32:51 +05303#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7
8N1SDP_BASE := plat/arm/board/n1sdp
9
10INTERCONNECT_SOURCES := ${N1SDP_BASE}/n1sdp_interconnect.c
11
12PLAT_INCLUDES := -I${N1SDP_BASE}/include
13
14
John Tsichritzis56369c12019-02-19 13:49:06 +000015N1SDP_CPU_SOURCES := lib/cpus/aarch64/neoverse_n1.S
Deepak Pandey9cbacf62018-08-08 10:32:51 +053016
Alexei Fedorov84f1b5d2020-03-23 18:45:17 +000017# GIC-600 configuration
18GICV3_IMPL := GIC600
19GICV3_IMPL_GIC600_MULTICHIP := 1
Deepak Pandey9cbacf62018-08-08 10:32:51 +053020
Alexei Fedorov84f1b5d2020-03-23 18:45:17 +000021# Include GICv3 driver files
22include drivers/arm/gic/v3/gicv3.mk
23
24N1SDP_GIC_SOURCES := ${GICV3_SOURCES} \
Deepak Pandey9cbacf62018-08-08 10:32:51 +053025 plat/common/plat_gicv3.c \
26 plat/arm/common/arm_gicv3.c \
Deepak Pandey9cbacf62018-08-08 10:32:51 +053027
28PLAT_BL_COMMON_SOURCES := ${N1SDP_BASE}/n1sdp_plat.c \
29 ${N1SDP_BASE}/aarch64/n1sdp_helper.S
30
Aditya Angadi20b48412019-04-16 11:29:14 +053031BL1_SOURCES += drivers/arm/sbsa/sbsa.c
Deepak Pandey9cbacf62018-08-08 10:32:51 +053032
33BL31_SOURCES := ${N1SDP_CPU_SOURCES} \
34 ${INTERCONNECT_SOURCES} \
35 ${N1SDP_GIC_SOURCES} \
36 ${N1SDP_BASE}/n1sdp_bl31_setup.c \
37 ${N1SDP_BASE}/n1sdp_topology.c \
Manoj Kumar69bebd82019-06-21 17:07:13 +010038 ${N1SDP_BASE}/n1sdp_security.c \
39 drivers/arm/css/sds/sds.c
Deepak Pandey9cbacf62018-08-08 10:32:51 +053040
41
42# TF-A not required to load the SCP Images
43override CSS_LOAD_SCP_IMAGES := 0
44
45# BL1/BL2 Image not a part of the capsule Image for n1sdp
46override NEED_BL1 := no
47override NEED_BL2 := no
48override NEED_BL2U := no
49
50#TFA for n1sdp starts from BL31
51override RESET_TO_BL31 := 1
52
53# 32 bit mode not supported
54override CTX_INCLUDE_AARCH32_REGS := 0
55
56override ARM_PLAT_MT := 1
57
58# Select SCMI/SDS drivers instead of SCPI/BOM driver for communicating with the
59# SCP during power management operations and for SCP RAM Firmware transfer.
60CSS_USE_SCMI_SDS_DRIVER := 1
61
62# System coherency is managed in hardware
63HW_ASSISTED_COHERENCY := 1
64
65# When building for systems with hardware-assisted coherency, there's no need to
66# use USE_COHERENT_MEM. Require that USE_COHERENT_MEM must be set to 0 too.
67USE_COHERENT_MEM := 0
Chandni Cherukurib9120872020-03-05 11:49:57 +053068
69# Enable the flag since N1SDP has a system level cache
70NEOVERSE_N1_EXTERNAL_LLC := 1
Deepak Pandey9cbacf62018-08-08 10:32:51 +053071include plat/arm/common/arm_common.mk
72include plat/arm/css/common/css_common.mk
Deepak Pandey9cbacf62018-08-08 10:32:51 +053073include plat/arm/board/common/board_common.mk
74