xref: /rk3399_ARM-atf/bl1/bl1.mk (revision 8a6771803fa2c629e624913a1c622df901efbde7)
14f6ad66aSAchin Gupta#
2*8a677180SJohn Tsichritzis# Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
34f6ad66aSAchin Gupta#
482cb2c1aSdp-arm# SPDX-License-Identifier: BSD-3-Clause
54f6ad66aSAchin Gupta#
64f6ad66aSAchin Gupta
7bee82417SDan HandleyBL1_SOURCES		+=	bl1/bl1_main.c				\
8f3b4914bSYatharth Kochar				bl1/${ARCH}/bl1_arch_setup.c		\
9f3b4914bSYatharth Kochar				bl1/${ARCH}/bl1_context_mgmt.c		\
10f3b4914bSYatharth Kochar				bl1/${ARCH}/bl1_entrypoint.S		\
11f3b4914bSYatharth Kochar				bl1/${ARCH}/bl1_exceptions.S		\
12f3b4914bSYatharth Kochar				lib/cpus/${ARCH}/cpu_helpers.S		\
1310bcd761SJeenu Viswambharan				lib/cpus/errata_report.c		\
14f3b4914bSYatharth Kochar				lib/el3_runtime/${ARCH}/context_mgmt.c	\
1575311203Sdp-arm				plat/common/plat_bl1_common.c		\
1676d26733SRoberto Vargas				plat/common/${ARCH}/platform_up_stack.S \
17180c4bc2SRoberto Vargas				${MBEDTLS_SOURCES}
18f3b4914bSYatharth Kochar
19f3b4914bSYatharth Kocharifeq (${ARCH},aarch64)
20*8a677180SJohn TsichritzisBL1_SOURCES		+=	lib/cpus/aarch64/dsu_helpers.S		\
21*8a677180SJohn Tsichritzis				lib/el3_runtime/aarch64/context.S
22f3b4914bSYatharth Kocharendif
23f3b4914bSYatharth Kochar
2448bfb88eSYatharth Kocharifeq (${TRUSTED_BOARD_BOOT},1)
2548bfb88eSYatharth KocharBL1_SOURCES		+=	bl1/bl1_fwu.c
2648bfb88eSYatharth Kocharendif
274f6ad66aSAchin Gupta
28bee82417SDan HandleyBL1_LINKERFILE		:=	bl1/bl1.ld.S
29