mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00
feat(spmd): map SPMC manifest region as EL3_PAS
Mapped SPMC manifest region as EL3_PAS so that it will get mapped as Root region in RME enabled system otherwise Secure region. Change-Id: I1af5344d7516e948d5b3664bcdb94cdfc367cd78 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
parent
177976286e
commit
8c829a9240
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020, Arm Limited. All rights reserved.
|
* Copyright (c) 2020-2023, Arm Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -150,7 +150,7 @@ int plat_spm_core_manifest_load(spmc_manifest_attribute_t *manifest,
|
||||||
rc = mmap_add_dynamic_region((unsigned long long)pm_base_align,
|
rc = mmap_add_dynamic_region((unsigned long long)pm_base_align,
|
||||||
pm_base_align,
|
pm_base_align,
|
||||||
PAGE_SIZE,
|
PAGE_SIZE,
|
||||||
MT_RO_DATA);
|
MT_RO_DATA | EL3_PAS);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
ERROR("Error while mapping SPM Core manifest (%d).\n", rc);
|
ERROR("Error while mapping SPM Core manifest (%d).\n", rc);
|
||||||
return rc;
|
return rc;
|
||||||
|
|
Loading…
Add table
Reference in a new issue