arm-trusted-firmware/lib/extensions/amu
Chris Kay 1fd685a74d refactor(amu): conditionally compile auxiliary counter support
This change reduces preprocessor dependencies on the
`AMU_GROUP1_NR_COUNTERS` and `AMU_GROUP1_COUNTERS_MASK` definitions, as
these values will eventually be discovered dynamically.

In their stead, we introduce the `ENABLE_AMU_AUXILIARY_COUNTERS` build
option, which will enable support for dynamically detecting and
enabling auxiliary AMU counters.

This substantially reduces the amount of memory used by platforms that
know ahead of time that they do not have any auxiliary AMU counters.

Change-Id: I3d998aff44ed5489af4857e337e97634d06e3ea1
Signed-off-by: Chris Kay <chris.kay@arm.com>
2021-10-26 12:14:32 +01:00
..
aarch32 refactor(amu): conditionally compile auxiliary counter support 2021-10-26 12:14:32 +01:00
aarch64 refactor(amu): conditionally compile auxiliary counter support 2021-10-26 12:14:32 +01:00
amu.mk build(amu): introduce `amu.mk` 2021-10-26 12:14:30 +01:00