Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 1 | # |
Boyan Karatotev | 24395f4 | 2024-09-26 17:09:53 +0100 | [diff] [blame] | 2 | # Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved. |
Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 5 | # |
| 6 | |
Soby Mathew | d019487 | 2016-04-29 19:01:30 +0100 | [diff] [blame] | 7 | PSCI_LIB_SOURCES := lib/el3_runtime/cpu_data_array.c \ |
Soby Mathew | 89d90dc | 2016-05-05 14:11:23 +0100 | [diff] [blame] | 8 | lib/el3_runtime/${ARCH}/cpu_data.S \ |
| 9 | lib/el3_runtime/${ARCH}/context_mgmt.c \ |
| 10 | lib/cpus/${ARCH}/cpu_helpers.S \ |
Jeenu Viswambharan | d5ec367 | 2017-01-03 11:01:51 +0000 | [diff] [blame] | 11 | lib/cpus/errata_report.c \ |
Soby Mathew | 89d90dc | 2016-05-05 14:11:23 +0100 | [diff] [blame] | 12 | lib/locks/exclusive/${ARCH}/spinlock.S \ |
Soby Mathew | d019487 | 2016-04-29 19:01:30 +0100 | [diff] [blame] | 13 | lib/psci/psci_off.c \ |
| 14 | lib/psci/psci_on.c \ |
| 15 | lib/psci/psci_suspend.c \ |
| 16 | lib/psci/psci_common.c \ |
| 17 | lib/psci/psci_main.c \ |
| 18 | lib/psci/psci_setup.c \ |
| 19 | lib/psci/psci_system_off.c \ |
Roberto Vargas | 0a4c261 | 2017-08-03 08:16:16 +0100 | [diff] [blame] | 20 | lib/psci/psci_mem_protect.c \ |
Soby Mathew | 89d90dc | 2016-05-05 14:11:23 +0100 | [diff] [blame] | 21 | lib/psci/${ARCH}/psci_helpers.S |
| 22 | |
| 23 | ifeq (${ARCH}, aarch64) |
Boyan Karatotev | 24395f4 | 2024-09-26 17:09:53 +0100 | [diff] [blame] | 24 | PSCI_LIB_SOURCES += lib/el3_runtime/aarch64/context.S |
Soby Mathew | 89d90dc | 2016-05-05 14:11:23 +0100 | [diff] [blame] | 25 | endif |
Soby Mathew | 0d78607 | 2016-03-24 16:56:29 +0000 | [diff] [blame] | 26 | |
| 27 | ifeq (${USE_COHERENT_MEM}, 1) |
| 28 | PSCI_LIB_SOURCES += lib/locks/bakery/bakery_lock_coherent.c |
| 29 | else |
| 30 | PSCI_LIB_SOURCES += lib/locks/bakery/bakery_lock_normal.c |
| 31 | endif |
| 32 | |
| 33 | ifeq (${ENABLE_PSCI_STAT}, 1) |
| 34 | PSCI_LIB_SOURCES += lib/psci/psci_stat.c |
| 35 | endif |