summaryrefslogtreecommitdiff
path: root/bl1/bl1.mk
diff options
context:
space:
mode:
authorthagon01-arm <Thaddeus.Gonzalez-Serna@arm.com>2023-07-12 10:43:58 -0500
committerThaddeus Gonzalez-Serna <Thaddeus.Gonzalez-Serna@arm.com>2023-09-07 23:38:43 +0200
commited8f06ddda52bc0333f79e9ff798419e67771ae5 (patch)
tree13edbdea21e00c2fc537de8b2531f0bd6819e586 /bl1/bl1.mk
parentd2b66cc87e1f5507d309c973de4bd2100cac532c (diff)
feat(fvp): capture timestamps in bl stages
When ENABLE_RUNTIME_INSTRUMENTATION flag is set timestamps are captured and output to the fvp console at various boot stages using the PMF library (which are based on aarch timers). Timestamps are captured at entry and exit points for Bl1, Bl2 and, Bl3 respectively. Change-Id: I7c0c502e5dbf73d711700b2fe0085ca3eb9346d2 Signed-off-by: Thaddeus Serna <Thaddeus.Gonzalez-Serna@arm.com>
Diffstat (limited to 'bl1/bl1.mk')
-rw-r--r--bl1/bl1.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/bl1/bl1.mk b/bl1/bl1.mk
index 95fe50ed0..53946ab8d 100644
--- a/bl1/bl1.mk
+++ b/bl1/bl1.mk
@@ -25,6 +25,10 @@ ifeq (${TRUSTED_BOARD_BOOT},1)
BL1_SOURCES += bl1/bl1_fwu.c
endif
+ifeq (${ENABLE_PMF},1)
+BL1_SOURCES += lib/pmf/pmf_main.c
+endif
+
ifneq ($(findstring gcc,$(notdir $(LD))),)
BL1_LDFLAGS += -Wl,--sort-section=alignment
else ifneq ($(findstring ld,$(notdir $(LD))),)