aboutsummaryrefslogtreecommitdiff
path: root/plat/arm/board/fvp/platform.mk
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-02-14 10:28:36 +0000
committerDimitris Papastamos <dimitris.papastamos@arm.com>2018-02-27 13:28:41 +0000
commitf06890ea89f6c20f5d4619ba3d108c43d5d89b18 (patch)
treeb7bb9c3f13e311e6b3341f13f162ed26ae172e0c /plat/arm/board/fvp/platform.mk
parenta2e702a2f3ffb9c90263285d333a2107cfb43fc4 (diff)
downloadarm-trusted-firmware-f06890ea89f6c20f5d4619ba3d108c43d5d89b18.tar.gz
Refactor AMU support for Cortex A75
This patch also fixes the assumption that the counters are disabled on the resume path. This is incorrect as the AMU counters are enabled early in the CPU reset function before `cpuamu_context_restore()` runs. Change-Id: I38a94eb166a523f00de18e86860434ffccff2131 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Diffstat (limited to 'plat/arm/board/fvp/platform.mk')
-rw-r--r--plat/arm/board/fvp/platform.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk
index 07c4842e5..34be2feaa 100644
--- a/plat/arm/board/fvp/platform.mk
+++ b/plat/arm/board/fvp/platform.mk
@@ -180,7 +180,8 @@ ENABLE_PLAT_COMPAT := 0
ENABLE_AMU := 1
ifeq (${ENABLE_AMU},1)
-BL31_SOURCES += lib/cpus/aarch64/cortex_a75_pubsub.c \
+BL31_SOURCES += lib/cpus/aarch64/cortex_a75_pubsub.c \
+ lib/cpus/aarch64/cpuamu.c \
lib/cpus/aarch64/cpuamu_helpers.S
endif