diff options
author | Nishant Sharma <nishant.sharma@arm.com> | 2023-10-12 10:43:16 +0100 |
---|---|---|
committer | Nishant Sharma <nishant.sharma@arm.com> | 2023-10-12 10:44:34 +0100 |
commit | f5e1bed2669cce46a1d7c6b8d3f8f884b4d589b3 (patch) | |
tree | a7e8e405b3984acfd2c15120dadf5d1ba6c1a902 | |
parent | 5df1dccd0be06cc45e82a57dc01be5b6b5d1a21b (diff) |
feat(bl31): reuse SPM_MM specific defines for SPMC_AT_EL3
For EL3 SPMC configuration enabled platforms, allow the reuse of
SPM_MM specific definitions.
Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: I5ef694f7e2f6d48ec7db26f92ccb350ed537e3f1
-rw-r--r-- | bl31/bl31.ld.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bl31/bl31.ld.S b/bl31/bl31.ld.S index 7a8c41ab2..773b41d3e 100644 --- a/bl31/bl31.ld.S +++ b/bl31/bl31.ld.S @@ -101,7 +101,7 @@ SECTIONS { ASSERT(__CPU_OPS_END__ > __CPU_OPS_START__, "cpu_ops not defined for this platform.") -#if SPM_MM +#if SPM_MM || (SPMC_AT_EL3 && SPMC_AT_EL3_SEL0_SP) # ifndef SPM_SHIM_EXCEPTIONS_VMA # define SPM_SHIM_EXCEPTIONS_VMA RAM # endif /* SPM_SHIM_EXCEPTIONS_VMA */ @@ -128,7 +128,7 @@ SECTIONS { PROVIDE(__SPM_SHIM_EXCEPTIONS_LMA__ = LOADADDR(.spm_shim_exceptions)); . = LOADADDR(.spm_shim_exceptions) + SIZEOF(.spm_shim_exceptions); -#endif /* SPM_MM */ +#endif /* SPM_MM || (SPMC_AT_EL3 && SPMC_AT_EL3_SEL0_SP) */ __RW_START__ = .; |