blob: dbd451ce6e27e8051e56c81bdc740adaed4ae157 [file] [log] [blame]
Soby Mathew7b754182016-07-11 14:15:27 +01001#
Louis Mayencourtf79ebcd2019-06-11 10:51:34 +01002# Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
Soby Mathew7b754182016-07-11 14:15:27 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Soby Mathew7b754182016-07-11 14:15:27 +01005#
6
7# SP MIN source files common to ARM standard platforms
Soby Mathewb58da6f2018-02-20 14:48:50 +00008
Louis Mayencourtf79ebcd2019-06-11 10:51:34 +01009# Skip building BL1, BL2 and BL2U if RESET_TO_SP_MIN flag is set.
Soby Mathewb58da6f2018-02-20 14:48:50 +000010ifeq (${RESET_TO_SP_MIN},1)
11 BL1_SOURCES =
12 BL2_SOURCES =
Louis Mayencourtf79ebcd2019-06-11 10:51:34 +010013 BL2U_SOURCES =
Soby Mathewb58da6f2018-02-20 14:48:50 +000014endif
15
Soby Mathew7b754182016-07-11 14:15:27 +010016BL32_SOURCES += plat/arm/common/arm_pm.c \
17 plat/arm/common/arm_topology.c \
18 plat/arm/common/sp_min/arm_sp_min_setup.c \
19 plat/common/aarch32/platform_mp_stack.S \
20 plat/common/plat_psci_common.c