arm-trusted-firmware/bl2
johpow01 f19dc624a1 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
2021-10-05 16:24:57 -05:00
..
aarch32 feat(rme): run BL2 in root world when FEAT_RME is enabled 2021-10-04 21:13:20 +02:00
aarch64 feat(rme): run BL2 in root world when FEAT_RME is enabled 2021-10-04 21:13:20 +02:00
bl2.ld.S feat(rme): run BL2 in root world when FEAT_RME is enabled 2021-10-04 21:13:20 +02:00
bl2.mk refactor(gpt): productize and refactor GPT library 2021-10-05 16:24:57 -05:00
bl2_el3.ld.S linker_script: move .rela.dyn section to bl_common.ld.h 2020-06-29 15:51:50 +09:00
bl2_image_load_v2.c Fix MISRA C issues in BL1/BL2/BL31 2020-04-03 16:20:59 -05:00
bl2_main.c feat(rme): run BL2 in root world when FEAT_RME is enabled 2021-10-04 21:13:20 +02:00
bl2_private.h Move BL1 and BL2 private defines to bl_common.h 2019-01-15 13:52:32 +00:00