blob: d11b4ab0edf5ef8e7fa1cc352496536bda6ff019 [file] [log] [blame]
Achin Gupta4f6ad662013-10-25 09:08:21 +01001#
Javier Almansa Sobrino0063dd12020-11-23 18:38:15 +00002# Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
Achin Gupta4f6ad662013-10-25 09:08:21 +01003#
dp-arm82cb2c12017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Achin Gupta4f6ad662013-10-25 09:08:21 +01005#
6
Dan Handleybee82412014-04-15 18:20:09 +01007BL1_SOURCES += bl1/bl1_main.c \
Yatharth Kocharf3b49142016-06-28 17:07:09 +01008 bl1/${ARCH}/bl1_arch_setup.c \
9 bl1/${ARCH}/bl1_context_mgmt.c \
10 bl1/${ARCH}/bl1_entrypoint.S \
11 bl1/${ARCH}/bl1_exceptions.S \
12 lib/cpus/${ARCH}/cpu_helpers.S \
Jeenu Viswambharan10bcd762017-01-03 11:01:51 +000013 lib/cpus/errata_report.c \
Yatharth Kocharf3b49142016-06-28 17:07:09 +010014 lib/el3_runtime/${ARCH}/context_mgmt.c \
dp-arm75311202017-03-07 11:02:47 +000015 plat/common/plat_bl1_common.c \
Roberto Vargas76d26732018-01-16 10:35:23 +000016 plat/common/${ARCH}/platform_up_stack.S \
Roberto Vargas180c4bc2018-05-08 10:27:10 +010017 ${MBEDTLS_SOURCES}
Yatharth Kocharf3b49142016-06-28 17:07:09 +010018
Javier Almansa Sobrino0063dd12020-11-23 18:38:15 +000019ifeq (${DISABLE_MTPMU},1)
20BL1_SOURCES += lib/extensions/mtpmu/${ARCH}/mtpmu.S
21endif
22
Yatharth Kocharf3b49142016-06-28 17:07:09 +010023ifeq (${ARCH},aarch64)
John Tsichritzis8a677182018-07-23 09:11:59 +010024BL1_SOURCES += lib/cpus/aarch64/dsu_helpers.S \
25 lib/el3_runtime/aarch64/context.S
Yatharth Kocharf3b49142016-06-28 17:07:09 +010026endif
27
Yatharth Kochar48bfb882015-10-10 19:06:53 +010028ifeq (${TRUSTED_BOARD_BOOT},1)
29BL1_SOURCES += bl1/bl1_fwu.c
30endif
Achin Gupta4f6ad662013-10-25 09:08:21 +010031
Dan Handleybee82412014-04-15 18:20:09 +010032BL1_LINKERFILE := bl1/bl1.ld.S