mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
feat(rdv3): define SPMC manifest base address
ARM_SPMC_MANIFEST_BASE defines the base address of the SPMC manifest used by BL32. In the non-RESET_TO_BL31 case, it is defined relative to the top of Trusted SRAM. However, for RESET_TO_BL31, the PLAT_ARM_SPMC_MANIFEST_BASE macro can be used to set it to a different location which is then used to populate ARM_SPMC_MANIFEST_BASE. As the RD-V3 platform and its variants have a different SRAM layout compared to that defined in arm_def.h, define the PLAT_ARM_SPMC_MANIFEST_BASE macro to an address suitable for this platform and its variants. Signed-off-by: Rakshit Goyal <rakshit.goyal@arm.com> Change-Id: I36e1eb21ab3d1c68bddb52c62198fcdfc40d8993
This commit is contained in:
parent
eab1ed54bf
commit
12973bcc89
1 changed files with 6 additions and 0 deletions
|
@ -731,6 +731,12 @@
|
||||||
# define BL32_BASE PLAT_ARM_SPMC_BASE
|
# define BL32_BASE PLAT_ARM_SPMC_BASE
|
||||||
# define BL32_LIMIT (PLAT_ARM_SPMC_BASE + \
|
# define BL32_LIMIT (PLAT_ARM_SPMC_BASE + \
|
||||||
PLAT_ARM_SPMC_SIZE)
|
PLAT_ARM_SPMC_SIZE)
|
||||||
|
|
||||||
|
#if RESET_TO_BL31
|
||||||
|
# define PLAT_ARM_SPMC_MANIFEST_BASE UL(0x1F500)
|
||||||
|
# define ARM_SPMC_MANIFEST_BASE PLAT_ARM_SPMC_MANIFEST_BASE
|
||||||
|
#endif
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue