summaryrefslogtreecommitdiff
path: root/services/std_svc/spm/spm_main.c
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-11-14 13:41:27 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-11-15 10:41:48 +0000
commit9efd6e5cf3c8409a4ac7ad8fdfdb4393654d4f8a (patch)
treecf1f1e3b5f2727a24fb1a2d187d0343342020341 /services/std_svc/spm/spm_main.c
parente83769c07bb09b7727a36389c9dd92096860637e (diff)
SPM: Fix calculation of max page granularity
The code was incorrectly reading from ID_AA64PRF0_EL1 instead of ID_AA64MMFR0_EL1 causing the supported granularity sizes returned by the code to be wrong. This wasn't causing any problem because it's just used to check the alignment of the base of the buffer shared between Non-secure and Secure worlds, and it was aligned to more than 64 KiB, which is the maximum granularity supported by the architecture. Change-Id: Icc0d949d9521cc0ef13afb753825c475ea62d462 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'services/std_svc/spm/spm_main.c')
0 files changed, 0 insertions, 0 deletions