aboutsummaryrefslogtreecommitdiff
path: root/bl31/bl31.mk
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2017-10-12 13:02:29 +0100
committerDimitris Papastamos <dimitris.papastamos@arm.com>2017-11-29 09:36:05 +0000
commit380559c1c3ac80c0d2581a931c80323d1fefbfd6 (patch)
treeeb27f37429a9448416c1a5185d88e1b43fd40adb /bl31/bl31.mk
parent3a6a9adc55fb75b730d376e226752227d2c5f7a6 (diff)
downloadtrusted-firmware-a-380559c1c3ac80c0d2581a931c80323d1fefbfd6.tar.gz
AMU: Implement support for aarch64
The `ENABLE_AMU` build option can be used to enable the architecturally defined AMU counters. At present, there is no support for the auxiliary counter group. Change-Id: I7ea0c0a00327f463199d1b0a481f01dadb09d312 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Diffstat (limited to 'bl31/bl31.mk')
-rw-r--r--bl31/bl31.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk
index fccdc8a0a8..ebd0e71a9e 100644
--- a/bl31/bl31.mk
+++ b/bl31/bl31.mk
@@ -50,6 +50,10 @@ ifeq (${ENABLE_SPE_FOR_LOWER_ELS},1)
BL31_SOURCES += lib/extensions/spe/spe.c
endif
+ifeq (${ENABLE_AMU},1)
+BL31_SOURCES += lib/extensions/amu/aarch64/amu.c
+endif
+
BL31_LINKERFILE := bl31/bl31.ld.S
# Flag used to indicate if Crash reporting via console should be included