platform.mk 758 Bytes
Newer Older
1
#
2
# Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
3
4
5
6
7
8
9
10
#
# SPDX-License-Identifier: BSD-3-Clause
#

include plat/arm/css/sgm/sgm-common.mk

SGM775_BASE= plat/arm/board/sgm775

11
FDT_SOURCES += ${SGM775_BASE}/fdts/sgm775_fw_config.dts
12
13

PLAT_INCLUDES +=-I${SGM775_BASE}/include/
14

15
16
BL1_SOURCES		+=	${SGM775_BASE}/sgm775_err.c

17
BL2_SOURCES		+=	lib/utils/mem_region.c                  \
18
				${SGM775_BASE}/sgm775_err.c		\
19
20
				plat/arm/common/arm_nor_psci_mem_protect.c

21
22
BL31_SOURCES		+=	drivers/cfi/v2m/v2m_flash.c		\
				lib/utils/mem_region.c			\
23
				plat/arm/common/arm_nor_psci_mem_protect.c
24
25
26
27
28

ifeq (${TRUSTED_BOARD_BOOT}, 1)
BL1_SOURCES		+=	${SGM775_BASE}/sgm775_trusted_boot.c
BL2_SOURCES		+=	${SGM775_BASE}/sgm775_trusted_boot.c
endif