Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 1 | # |
Gary Morrison | 3d7f654 | 2021-01-27 13:08:47 -0600 | [diff] [blame] | 2 | # Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved. |
Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Achin Gupta | 4f6ad66 | 2013-10-25 09:08:21 +0100 | [diff] [blame] | 5 | # |
| 6 | |
Gary Morrison | 3d7f654 | 2021-01-27 13:08:47 -0600 | [diff] [blame] | 7 | ifneq (${PLAT},fvp_r) |
| 8 | BL1_SOURCES += bl1/${ARCH}/bl1_arch_setup.c \ |
Yatharth Kochar | 5d36121 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 9 | bl1/${ARCH}/bl1_context_mgmt.c \ |
| 10 | bl1/${ARCH}/bl1_entrypoint.S \ |
| 11 | bl1/${ARCH}/bl1_exceptions.S \ |
Gary Morrison | 3d7f654 | 2021-01-27 13:08:47 -0600 | [diff] [blame] | 12 | bl1/bl1_main.c |
| 13 | endif |
| 14 | BL1_SOURCES += lib/cpus/${ARCH}/cpu_helpers.S \ |
Jeenu Viswambharan | d5ec367 | 2017-01-03 11:01:51 +0000 | [diff] [blame] | 15 | lib/cpus/errata_report.c \ |
Yatharth Kochar | 5d36121 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 16 | lib/el3_runtime/${ARCH}/context_mgmt.c \ |
dp-arm | 230011c | 2017-03-07 11:02:47 +0000 | [diff] [blame] | 17 | plat/common/plat_bl1_common.c \ |
Roberto Vargas | 9f41248 | 2018-01-16 10:35:23 +0000 | [diff] [blame] | 18 | plat/common/${ARCH}/platform_up_stack.S \ |
Roberto Vargas | 502290b | 2018-05-08 10:27:10 +0100 | [diff] [blame] | 19 | ${MBEDTLS_SOURCES} |
Yatharth Kochar | 5d36121 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 20 | |
Javier Almansa Sobrino | f3a4c54 | 2020-11-23 18:38:15 +0000 | [diff] [blame] | 21 | ifeq (${DISABLE_MTPMU},1) |
| 22 | BL1_SOURCES += lib/extensions/mtpmu/${ARCH}/mtpmu.S |
| 23 | endif |
| 24 | |
Yatharth Kochar | 5d36121 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 25 | ifeq (${ARCH},aarch64) |
John Tsichritzis | 4daa1de | 2018-07-23 09:11:59 +0100 | [diff] [blame] | 26 | BL1_SOURCES += lib/cpus/aarch64/dsu_helpers.S \ |
| 27 | lib/el3_runtime/aarch64/context.S |
Yatharth Kochar | 5d36121 | 2016-06-28 17:07:09 +0100 | [diff] [blame] | 28 | endif |
| 29 | |
Yatharth Kochar | 71c9a5e | 2015-10-10 19:06:53 +0100 | [diff] [blame] | 30 | ifeq (${TRUSTED_BOARD_BOOT},1) |
| 31 | BL1_SOURCES += bl1/bl1_fwu.c |
| 32 | endif |
Ryan Harkin | 25cff83 | 2014-01-13 12:37:03 +0000 | [diff] [blame] | 33 | |
Dan Handley | 176e7b4 | 2014-04-15 18:20:09 +0100 | [diff] [blame] | 34 | BL1_LINKERFILE := bl1/bl1.ld.S |