blob: f6ef95a03b45371797f7f07e32bb0a69ea3dab04 [file] [log] [blame]
Nariman Poushin0ece80f2018-02-26 06:52:04 +00001#
2# Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ENABLE_PLAT_COMPAT := 0
8
9CSS_ENT_BASE := plat/arm/css/sgi
10
11INTERCONNECT_SOURCES := ${CSS_ENT_BASE}/sgi_interconnect.c
12
13PLAT_INCLUDES += -I${CSS_ENT_BASE}/include
14
15ENT_CPU_SOURCES := lib/cpus/aarch64/cortex_a75.S
16
17ENT_GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
18 drivers/arm/gic/v3/gicv3_main.c \
19 drivers/arm/gic/v3/gicv3_helpers.c \
20 plat/common/plat_gicv3.c \
21 plat/arm/common/arm_gicv3.c \
Nariman Poushin0ece80f2018-02-26 06:52:04 +000022 drivers/arm/gic/v3/gic600.c
23
24
25PLAT_BL_COMMON_SOURCES += ${CSS_ENT_BASE}/sgi_plat.c \
26 ${CSS_ENT_BASE}/aarch64/sgi_helper.S
27
28BL1_SOURCES += ${INTERCONNECT_SOURCES} \
29 ${ENT_CPU_SOURCES} \
30 ${CSS_ENT_BASE}/sgi_bl1_setup.c \
31 ${CSS_ENT_BASE}/sgi_plat_config.c
32
33BL2_SOURCES += ${CSS_ENT_BASE}/sgi_security.c
34
35BL31_SOURCES += ${ENT_CPU_SOURCES} \
36 ${INTERCONNECT_SOURCES} \
37 ${ENT_GIC_SOURCES} \
38 ${CSS_ENT_BASE}/sgi_bl31_setup.c \
39 ${CSS_ENT_BASE}/sgi_topology.c \
40 ${CSS_ENT_BASE}/sgi_plat_config.c
41
42$(eval $(call add_define,SGI_PLAT))
43
44override CSS_LOAD_SCP_IMAGES := 0
45override NEED_BL2U := no
46override ARM_BL31_IN_DRAM := 1
Sudipto Paulc4510102018-04-16 17:46:50 +053047override ARM_PLAT_MT := 1
Nariman Poushin0ece80f2018-02-26 06:52:04 +000048
49# System coherency is managed in hardware
50HW_ASSISTED_COHERENCY := 1
51
52# When building for systems with hardware-assisted coherency, there's no need to
53# use USE_COHERENT_MEM. Require that USE_COHERENT_MEM must be set to 0 too.
54USE_COHERENT_MEM := 0
55
56include plat/arm/common/arm_common.mk
57include plat/arm/css/common/css_common.mk
58include plat/arm/soc/common/soc_css.mk
59include plat/arm/board/common/board_common.mk