summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Powell <john.powell@arm.com>2026-05-18 13:16:40 -0500
committerJohn Powell <john.powell@arm.com>2026-06-30 20:24:39 +0000
commitc457b88f839c2bc88da003e6cc17baeeaf544a7e (patch)
tree71e182c87501de69d900eed7977ce2eb0adfec0f /include
parentc6ca1acd3238b3d3aed1ea3bef4b2ae64a2a6a53 (diff)
downloadarm-trusted-firmware-c457b88f839c2bc88da003e6cc17baeeaf544a7e.tar.gz
arm-trusted-firmware-c457b88f839c2bc88da003e6cc17baeeaf544a7e.zip
feat(fvp): add FVP platform support for BL31 live activation
This patch adds the platform components of BL31 live activation. Signed-off-by: John Powell <john.powell@arm.com> Change-Id: I5c08eecdc0420f05462740b72a59ee2e837cf701
Diffstat (limited to 'include')
-rw-r--r--include/plat/arm/common/arm_def.h14
-rw-r--r--include/plat/arm/common/plat_arm_lfa_components.h4
2 files changed, 17 insertions, 1 deletions
diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h
index ce44352b0..f1828f094 100644
--- a/include/plat/arm/common/arm_def.h
+++ b/include/plat/arm/common/arm_def.h
@@ -362,6 +362,20 @@ MEASURED_BOOT
MT_MEMORY | MT_RW | EL3_PAS)
#endif
+#if ENABLE_LFA_BL31
+#define ARM_MAP_LFA_RELOCATABLE_CODE \
+ MAP_REGION_FLAT( \
+ BL31_LIMIT - (2 * PAGE_SIZE), \
+ PAGE_SIZE, \
+ MT_CODE | EL3_PAS)
+
+#define ARM_MAP_LFA_RELOCATABLE_DATA \
+ MAP_REGION_FLAT( \
+ BL31_LIMIT - PAGE_SIZE, \
+ PAGE_SIZE, \
+ MT_MEMORY | MT_RW | EL3_PAS)
+#endif /* ENABLE_LFA_BL31 */
+
#if ENABLE_RMM
/*
* We add the EL3_RMM_SHARED size to RMM mapping to map the region as a block.
diff --git a/include/plat/arm/common/plat_arm_lfa_components.h b/include/plat/arm/common/plat_arm_lfa_components.h
index c7e825773..e97150edd 100644
--- a/include/plat/arm/common/plat_arm_lfa_components.h
+++ b/include/plat/arm/common/plat_arm_lfa_components.h
@@ -29,7 +29,9 @@
* Define platform-specific numeric IDs for LFA FVP components.
*/
typedef enum {
- LFA_BL31_COMPONENT = 0,
+#if ENABLE_LFA_BL31
+ LFA_BL31_COMPONENT,
+#endif
#if BL32_BASE
LFA_BL32_COMPONENT,
#endif /* BL32_BASE */