Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 1 | # |
Alexei Fedorov | 2f13d6c | 2020-02-21 10:17:26 +0000 | [diff] [blame] | 2 | # Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved. |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | |
| 8 | N1SDP_BASE := plat/arm/board/n1sdp |
| 9 | |
| 10 | INTERCONNECT_SOURCES := ${N1SDP_BASE}/n1sdp_interconnect.c |
| 11 | |
| 12 | PLAT_INCLUDES := -I${N1SDP_BASE}/include |
| 13 | |
| 14 | |
John Tsichritzis | 56369c1 | 2019-02-19 13:49:06 +0000 | [diff] [blame] | 15 | N1SDP_CPU_SOURCES := lib/cpus/aarch64/neoverse_n1.S |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 16 | |
| 17 | |
| 18 | N1SDP_GIC_SOURCES := drivers/arm/gic/common/gic_common.c \ |
| 19 | drivers/arm/gic/v3/gicv3_main.c \ |
| 20 | drivers/arm/gic/v3/gicv3_helpers.c \ |
Alexei Fedorov | 2f13d6c | 2020-02-21 10:17:26 +0000 | [diff] [blame] | 21 | drivers/arm/gic/v3/gicdv3_helpers.c \ |
| 22 | drivers/arm/gic/v3/gicrv3_helpers.c \ |
Manish Pandey | 2c44a44 | 2019-10-14 17:37:38 +0100 | [diff] [blame] | 23 | drivers/arm/gic/v3/gic600_multichip.c \ |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 24 | plat/common/plat_gicv3.c \ |
| 25 | plat/arm/common/arm_gicv3.c \ |
| 26 | drivers/arm/gic/v3/gic600.c |
| 27 | |
| 28 | PLAT_BL_COMMON_SOURCES := ${N1SDP_BASE}/n1sdp_plat.c \ |
| 29 | ${N1SDP_BASE}/aarch64/n1sdp_helper.S |
| 30 | |
Aditya Angadi | 20b4841 | 2019-04-16 11:29:14 +0530 | [diff] [blame] | 31 | BL1_SOURCES += drivers/arm/sbsa/sbsa.c |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 32 | |
| 33 | BL31_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 Kumar | 69bebd8 | 2019-06-21 17:07:13 +0100 | [diff] [blame] | 38 | ${N1SDP_BASE}/n1sdp_security.c \ |
| 39 | drivers/arm/css/sds/sds.c |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 40 | |
| 41 | |
| 42 | # TF-A not required to load the SCP Images |
| 43 | override CSS_LOAD_SCP_IMAGES := 0 |
| 44 | |
| 45 | # BL1/BL2 Image not a part of the capsule Image for n1sdp |
| 46 | override NEED_BL1 := no |
| 47 | override NEED_BL2 := no |
| 48 | override NEED_BL2U := no |
| 49 | |
| 50 | #TFA for n1sdp starts from BL31 |
| 51 | override RESET_TO_BL31 := 1 |
| 52 | |
| 53 | # 32 bit mode not supported |
| 54 | override CTX_INCLUDE_AARCH32_REGS := 0 |
| 55 | |
| 56 | override 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. |
| 60 | CSS_USE_SCMI_SDS_DRIVER := 1 |
| 61 | |
| 62 | # System coherency is managed in hardware |
| 63 | HW_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. |
| 67 | USE_COHERENT_MEM := 0 |
Chandni Cherukuri | b912087 | 2020-03-05 11:49:57 +0530 | [diff] [blame] | 68 | |
| 69 | # Enable the flag since N1SDP has a system level cache |
| 70 | NEOVERSE_N1_EXTERNAL_LLC := 1 |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 71 | include plat/arm/common/arm_common.mk |
| 72 | include plat/arm/css/common/css_common.mk |
Deepak Pandey | 9cbacf6 | 2018-08-08 10:32:51 +0530 | [diff] [blame] | 73 | include plat/arm/board/common/board_common.mk |
| 74 | |