summaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authorZelalem Aweke <zelalem.aweke@arm.com>2021-07-13 14:05:20 -0500
committerZelalem Aweke <zelalem.aweke@arm.com>2021-10-05 11:56:00 -0500
commit1839012d5b5d431f7ec307230eae9890a5fe7477 (patch)
tree15bce24d69e966918d05bba6483408fce5423e16 /bl2
parent5b18de09e80f87963df9a2e451c47e2321b8643a (diff)
feat(rme): add GPT Library
This patch introduces the Granule Protection Table (GPT) library code. This implementation will be updated later to be more flexible, as the current implementation is very rigid. Signed-off-by: Zelalem Aweke <zelalem.aweke@arm.com> Change-Id: I3af824a28c6e9a5d36459c0c51d2d9bebfba1505
Diffstat (limited to 'bl2')
-rw-r--r--bl2/bl2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/bl2/bl2.mk b/bl2/bl2.mk
index 54c73f506..fd8374795 100644
--- a/bl2/bl2.mk
+++ b/bl2/bl2.mk
@@ -17,10 +17,12 @@ endif
ifeq (${ENABLE_RME},1)
# Using RME, run BL2 at EL3
+include lib/gpt/gpt.mk
+
BL2_SOURCES += bl2/${ARCH}/bl2_rme_entrypoint.S \
bl2/${ARCH}/bl2_el3_exceptions.S \
bl2/${ARCH}/bl2_run_next_image.S \
-
+ ${GPT_LIB_SRCS}
BL2_LINKERFILE := bl2/bl2.ld.S
else ifeq (${BL2_AT_EL3},0)