mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
feat(gpt): add support for large GPT mappings
This patch adds support for large GPT mappings using Contiguous descriptors. The maximum size of supported contiguous block in MB is defined in RME_GPT_MAX_BLOCK build parameter and takes values 0, 2, 32 and 512 and by default set to 2 in make_helpers/defaults.mk. Setting RME_GPT_MAX_BLOCK value to 0 disables use of Contiguous descriptors. Function gpt_tlbi_by_pa_ll() and its declaration are removed from lib/aarch64/misc_helpers.S and include/arch/aarch64/arch_helpers.h, because the GPT library now uses tlbirpalos_xxx() functions. Change-Id: Ia9a59bde1741c5666b4ca1de9324e6dfd6f734eb Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
This commit is contained in:
parent
85ea97f972
commit
ec0088bbab
9 changed files with 960 additions and 238 deletions
|
@ -812,6 +812,11 @@ Common build options
|
|||
instead of the BL1 entrypoint. It can take the value 0 (CPU reset to BL1
|
||||
entrypoint) or 1 (CPU reset to SP_MIN entrypoint). The default value is 0.
|
||||
|
||||
- ``RME_GPT_MAX_BLOCK``: Numeric value in MB to define maximum size of
|
||||
supported contiguous blocks in GPT Library. This parameter can take the
|
||||
values 0, 2, 32 and 512. Setting this value to 0 disables use of Contigious
|
||||
descriptors. Default value is 2.
|
||||
|
||||
- ``ROT_KEY``: This option is used when ``GENERATE_COT=1``. It specifies a
|
||||
file that contains the ROT private key in PEM format or a PKCS11 URI and
|
||||
enforces public key hash generation. If ``SAVE_KEYS=1``, only a file is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue