summaryrefslogtreecommitdiff
path: root/lib/gpt_rme/gpt_rme.mk
diff options
context:
space:
mode:
authorjohpow01 <john.powell@arm.com>2021-06-16 17:57:28 -0500
committerjohpow01 <john.powell@arm.com>2021-10-05 16:24:57 -0500
commitf19dc624a17c9df6aa444e33568b1f70ff4e9341 (patch)
tree971ffe9a2948af46edf4ee3ff3fceaf0a50f9d87 /lib/gpt_rme/gpt_rme.mk
parent07e96d1d2958b6f121476fd391ac67bf8c2c4735 (diff)
refactor(gpt): productize and refactor GPT library
This patch updates and refactors the GPT library and fixes bugs. - Support all combinations of PGS, PPS, and L0GPTSZ parameters. - PPS and PGS are set at runtime, L0GPTSZ is read from GPCCR_EL3. - Use compiler definitions to simplify code. - Renaming functions to better suit intended uses. - MMU enabled before GPT APIs called. - Add comments to make function usage more clear in GPT library. - Added _rme suffix to file names to differentiate better from the GPT file system code. - Renamed gpt_defs.h to gpt_rme_private.h to better separate private and public code. - Renamed gpt_core.c to gpt_rme.c to better conform to TF-A precedent. Signed-off-by: John Powell <john.powell@arm.com> Change-Id: I4cbb23b0f81e697baa9fb23ba458aa3f7d1ed919
Diffstat (limited to 'lib/gpt_rme/gpt_rme.mk')
-rw-r--r--lib/gpt_rme/gpt_rme.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gpt_rme/gpt_rme.mk b/lib/gpt_rme/gpt_rme.mk
new file mode 100644
index 000000000..60176f4e1
--- /dev/null
+++ b/lib/gpt_rme/gpt_rme.mk
@@ -0,0 +1,8 @@
+#
+# Copyright (c) 2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+GPT_LIB_SRCS := $(addprefix lib/gpt_rme/, \
+ gpt_rme.c)