mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-20 19:44:23 +00:00

Move the runtime errata source file into the PSCI library, as PSCI is the only component directly dependent on it, and it doesn't require internal access to the CPUs library. Change-Id: I92826714d49b1b0131f62c158543b4c167ab9aa8 Signed-off-by: Chris Kay <chris.kay@arm.com>
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
#
|
|
# Copyright (c) 2016-2023, Arm Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
PSCI_LIB_SOURCES := lib/el3_runtime/cpu_data_array.c \
|
|
lib/el3_runtime/${ARCH}/cpu_data.S \
|
|
lib/el3_runtime/${ARCH}/context_mgmt.c \
|
|
lib/cpus/${ARCH}/cpu_helpers.S \
|
|
lib/cpus/errata_report.c \
|
|
lib/locks/exclusive/${ARCH}/spinlock.S \
|
|
lib/psci/psci_off.c \
|
|
lib/psci/psci_on.c \
|
|
lib/psci/psci_suspend.c \
|
|
lib/psci/psci_common.c \
|
|
lib/psci/psci_main.c \
|
|
lib/psci/psci_setup.c \
|
|
lib/psci/psci_system_off.c \
|
|
lib/psci/psci_mem_protect.c \
|
|
lib/psci/${ARCH}/psci_helpers.S
|
|
|
|
ifeq (${ARCH}, aarch64)
|
|
PSCI_LIB_SOURCES += lib/el3_runtime/aarch64/context.S \
|
|
lib/psci/aarch64/runtime_errata.S
|
|
endif
|
|
|
|
ifeq (${USE_COHERENT_MEM}, 1)
|
|
PSCI_LIB_SOURCES += lib/locks/bakery/bakery_lock_coherent.c
|
|
else
|
|
PSCI_LIB_SOURCES += lib/locks/bakery/bakery_lock_normal.c
|
|
endif
|
|
|
|
ifeq (${ENABLE_PSCI_STAT}, 1)
|
|
PSCI_LIB_SOURCES += lib/psci/psci_stat.c
|
|
endif
|