From 380559c1c3ac80c0d2581a931c80323d1fefbfd6 Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Thu, 12 Oct 2017 13:02:29 +0100 Subject: 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 --- bl31/bl31.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bl31') diff --git a/bl31/bl31.mk b/bl31/bl31.mk index fccdc8a0..ebd0e71a 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 -- cgit v1.2.3