blob: 355b9ee2ce9e16eb0a6580df9d996d310246a9c6 [file] [log] [blame]
Nariman Poushinc703f902018-03-07 10:29:57 +00001#
Max Shvetsov06dba292019-12-06 11:50:12 +00002# Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
Nariman Poushinc703f902018-03-07 10:29:57 +00003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7include plat/arm/css/sgm/sgm-common.mk
8
9SGM775_BASE= plat/arm/board/sgm775
10
Louis Mayencourt9fdfae32020-02-12 09:26:09 +000011FDT_SOURCES += ${SGM775_BASE}/fdts/sgm775_fw_config.dts
Nariman Poushinc703f902018-03-07 10:29:57 +000012
13PLAT_INCLUDES +=-I${SGM775_BASE}/include/
Roberto Vargasb96ee4b2018-08-06 13:35:31 +010014
Ambroise Vincentfa42c9e2019-07-04 14:58:45 +010015BL1_SOURCES += ${SGM775_BASE}/sgm775_err.c
16
Roberto Vargasb96ee4b2018-08-06 13:35:31 +010017BL2_SOURCES += lib/utils/mem_region.c \
Ambroise Vincentfa42c9e2019-07-04 14:58:45 +010018 ${SGM775_BASE}/sgm775_err.c \
Roberto Vargasb96ee4b2018-08-06 13:35:31 +010019 plat/arm/common/arm_nor_psci_mem_protect.c
20
Antonio Nino Diazd7da2f82018-10-10 11:14:44 +010021BL31_SOURCES += drivers/cfi/v2m/v2m_flash.c \
22 lib/utils/mem_region.c \
Roberto Vargasb96ee4b2018-08-06 13:35:31 +010023 plat/arm/common/arm_nor_psci_mem_protect.c
Max Shvetsov06dba292019-12-06 11:50:12 +000024
25ifeq (${TRUSTED_BOARD_BOOT}, 1)
26BL1_SOURCES += ${SGM775_BASE}/sgm775_trusted_boot.c
27BL2_SOURCES += ${SGM775_BASE}/sgm775_trusted_boot.c
28endif