Soby Mathew | 7b75418 | 2016-07-11 14:15:27 +0100 | [diff] [blame] | 1 | # |
Louis Mayencourt | f79ebcd | 2019-06-11 10:51:34 +0100 | [diff] [blame] | 2 | # Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. |
Soby Mathew | 7b75418 | 2016-07-11 14:15:27 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Soby Mathew | 7b75418 | 2016-07-11 14:15:27 +0100 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | # SP MIN source files common to ARM standard platforms |
Soby Mathew | b58da6f | 2018-02-20 14:48:50 +0000 | [diff] [blame] | 8 | |
Louis Mayencourt | f79ebcd | 2019-06-11 10:51:34 +0100 | [diff] [blame] | 9 | # Skip building BL1, BL2 and BL2U if RESET_TO_SP_MIN flag is set. |
Soby Mathew | b58da6f | 2018-02-20 14:48:50 +0000 | [diff] [blame] | 10 | ifeq (${RESET_TO_SP_MIN},1) |
| 11 | BL1_SOURCES = |
| 12 | BL2_SOURCES = |
Louis Mayencourt | f79ebcd | 2019-06-11 10:51:34 +0100 | [diff] [blame] | 13 | BL2U_SOURCES = |
Soby Mathew | b58da6f | 2018-02-20 14:48:50 +0000 | [diff] [blame] | 14 | endif |
| 15 | |
Soby Mathew | 7b75418 | 2016-07-11 14:15:27 +0100 | [diff] [blame] | 16 | BL32_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 |