SPMD: fix boundary check if manifest is page aligned
while mapping SPMC manifest page in the SPMD translation regime the
mapped size was resolved to zero if SPMC manifest base address is PAGE
aligned, causing SPMD to abort.

To fix the problem change mapped size to PAGE_SIZE if manifest base is
PAGE aligned.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I06cd39dbefaf492682d9bbb0c82b950dd31fb416
1 parent 99c447f commit fdd5f9e6d6172f012b216d6af609fd528dd25836
@Manish Pandey Manish Pandey authored on 8 Jul 2020
Showing 1 changed file
View
plat/common/plat_spmd_manifest.c