Chandni Cherukuri | f3a6cab | 2020-09-22 18:56:25 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | MORELLO_BASE := plat/arm/board/morello |
| 8 | |
| 9 | INTERCONNECT_SOURCES := ${MORELLO_BASE}/morello_interconnect.c |
| 10 | |
| 11 | PLAT_INCLUDES := -I${MORELLO_BASE}/include |
| 12 | |
| 13 | MORELLO_CPU_SOURCES := lib/cpus/aarch64/rainier.S |
| 14 | |
Chandni Cherukuri | c5a0c37 | 2020-10-01 10:11:44 +0530 | [diff] [blame] | 15 | # GIC-600 configuration |
| 16 | GICV3_SUPPORT_GIC600 := 1 |
| 17 | |
| 18 | # Include GICv3 driver files |
| 19 | include drivers/arm/gic/v3/gicv3.mk |
| 20 | |
| 21 | MORELLO_GIC_SOURCES := ${GICV3_SOURCES} \ |
Chandni Cherukuri | f3a6cab | 2020-09-22 18:56:25 +0530 | [diff] [blame] | 22 | plat/common/plat_gicv3.c \ |
| 23 | plat/arm/common/arm_gicv3.c \ |
Chandni Cherukuri | f3a6cab | 2020-09-22 18:56:25 +0530 | [diff] [blame] | 24 | |
| 25 | PLAT_BL_COMMON_SOURCES := ${MORELLO_BASE}/morello_plat.c \ |
| 26 | ${MORELLO_BASE}/aarch64/morello_helper.S |
| 27 | |
| 28 | BL31_SOURCES := ${MORELLO_CPU_SOURCES} \ |
| 29 | ${INTERCONNECT_SOURCES} \ |
| 30 | ${MORELLO_GIC_SOURCES} \ |
| 31 | ${MORELLO_BASE}/morello_bl31_setup.c \ |
| 32 | ${MORELLO_BASE}/morello_topology.c \ |
| 33 | ${MORELLO_BASE}/morello_security.c \ |
| 34 | drivers/arm/css/sds/sds.c |
| 35 | |
| 36 | FDT_SOURCES += fdts/morello-fvp.dts |
| 37 | |
| 38 | # TF-A not required to load the SCP Images |
| 39 | override CSS_LOAD_SCP_IMAGES := 0 |
| 40 | |
| 41 | # BL1/BL2 Image not a part of the capsule Image for morello |
| 42 | override NEED_BL1 := no |
| 43 | override NEED_BL2 := no |
| 44 | override NEED_BL2U := no |
| 45 | |
| 46 | #TF-A for morello starts from BL31 |
| 47 | override RESET_TO_BL31 := 1 |
| 48 | |
| 49 | # 32 bit mode not supported |
| 50 | override CTX_INCLUDE_AARCH32_REGS := 0 |
| 51 | |
| 52 | override ARM_PLAT_MT := 1 |
| 53 | |
| 54 | # Select SCMI/SDS drivers instead of SCPI/BOM driver for communicating with the |
| 55 | # SCP during power management operations and for SCP RAM Firmware transfer. |
| 56 | CSS_USE_SCMI_SDS_DRIVER := 1 |
| 57 | |
| 58 | # System coherency is managed in hardware |
| 59 | HW_ASSISTED_COHERENCY := 1 |
| 60 | |
| 61 | # When building for systems with hardware-assisted coherency, there's no need to |
| 62 | # use USE_COHERENT_MEM. Require that USE_COHERENT_MEM must be set to 0 too. |
| 63 | USE_COHERENT_MEM := 0 |
| 64 | |
| 65 | include plat/arm/common/arm_common.mk |
| 66 | include plat/arm/css/common/css_common.mk |
| 67 | include plat/arm/board/common/board_common.mk |