Nariman Poushin | c703f90 | 2018-03-07 10:29:57 +0000 | [diff] [blame] | 1 | # |
Max Shvetsov | 06dba29 | 2019-12-06 11:50:12 +0000 | [diff] [blame] | 2 | # Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved. |
Nariman Poushin | c703f90 | 2018-03-07 10:29:57 +0000 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | include plat/arm/css/sgm/sgm-common.mk |
| 8 | |
| 9 | SGM775_BASE= plat/arm/board/sgm775 |
| 10 | |
Louis Mayencourt | 9fdfae3 | 2020-02-12 09:26:09 +0000 | [diff] [blame] | 11 | FDT_SOURCES += ${SGM775_BASE}/fdts/sgm775_fw_config.dts |
Nariman Poushin | c703f90 | 2018-03-07 10:29:57 +0000 | [diff] [blame] | 12 | |
| 13 | PLAT_INCLUDES +=-I${SGM775_BASE}/include/ |
Roberto Vargas | b96ee4b | 2018-08-06 13:35:31 +0100 | [diff] [blame] | 14 | |
Ambroise Vincent | fa42c9e | 2019-07-04 14:58:45 +0100 | [diff] [blame] | 15 | BL1_SOURCES += ${SGM775_BASE}/sgm775_err.c |
| 16 | |
Roberto Vargas | b96ee4b | 2018-08-06 13:35:31 +0100 | [diff] [blame] | 17 | BL2_SOURCES += lib/utils/mem_region.c \ |
Ambroise Vincent | fa42c9e | 2019-07-04 14:58:45 +0100 | [diff] [blame] | 18 | ${SGM775_BASE}/sgm775_err.c \ |
Roberto Vargas | b96ee4b | 2018-08-06 13:35:31 +0100 | [diff] [blame] | 19 | plat/arm/common/arm_nor_psci_mem_protect.c |
| 20 | |
Antonio Nino Diaz | d7da2f8 | 2018-10-10 11:14:44 +0100 | [diff] [blame] | 21 | BL31_SOURCES += drivers/cfi/v2m/v2m_flash.c \ |
| 22 | lib/utils/mem_region.c \ |
Roberto Vargas | b96ee4b | 2018-08-06 13:35:31 +0100 | [diff] [blame] | 23 | plat/arm/common/arm_nor_psci_mem_protect.c |
Max Shvetsov | 06dba29 | 2019-12-06 11:50:12 +0000 | [diff] [blame] | 24 | |
| 25 | ifeq (${TRUSTED_BOARD_BOOT}, 1) |
| 26 | BL1_SOURCES += ${SGM775_BASE}/sgm775_trusted_boot.c |
| 27 | BL2_SOURCES += ${SGM775_BASE}/sgm775_trusted_boot.c |
| 28 | endif |