2 # Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
4 # SPDX-License-Identifier: BSD-3-Clause
7 BL2_SOURCES
+= bl2
/bl2_image_load_v2.c \
9 bl2
/${ARCH}/bl2_arch_setup.c \
10 lib
/locks
/exclusive
/${ARCH}/spinlock.S \
11 plat
/common
/${ARCH}/platform_up_stack.S \
14 ifeq (${ARCH},aarch64
)
15 BL2_SOURCES
+= common
/aarch64
/early_exceptions.S
18 ifeq (${BL2_AT_EL3},0)
19 BL2_SOURCES
+= bl2
/${ARCH}/bl2_entrypoint.S
20 BL2_LINKERFILE
:= bl2
/bl2.
ld.S
23 BL2_SOURCES
+= bl2
/${ARCH}/bl2_el3_entrypoint.S \
24 bl2
/${ARCH}/bl2_el3_exceptions.S \
25 lib
/cpus
/${ARCH}/cpu_helpers.S \
26 lib
/cpus
/errata_report.c
28 ifeq (${ARCH},aarch64
)
29 BL2_SOURCES
+= lib
/cpus
/aarch64
/dsu_helpers.S
32 BL2_LINKERFILE
:= bl2
/bl2_el3.
ld.S