plat/arm: enable support for Plat owned SPs
For Arm platforms SPs are loaded by parsing tb_fw_config.dts and
adding them to SP structure sequentially, which in-turn is appended to
loadable image list.

With recently introduced dualroot CoT for SPs where they are owned
either by SiP or by Platform. SiP owned SPs index starts at SP_PKG1_ID
and Plat owned SPs index starts at SP_PKG5_ID. As the start index of SP
depends on the owner, there should be a mechanism to parse owner of a SP
and put it at the correct index in SP structure.

This patch adds support for parsing a new optional field "owner" and
based on it put SP details(UUID & Load-address) at the correct index in
SP structure.

Change-Id: Ibd255b60d5c45023cc7fdb10971bef6626cb560b
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
1 parent 2947412 commit 990d972f1bd7c0c26102fa9876e5baabf648d4f5
@Manish Pandey Manish Pandey authored on 31 Jul 2020
Showing 3 changed files
View
include/plat/arm/common/fconf_arm_sp_getter.h
View
plat/arm/common/fconf/arm_fconf_io.c
View
plat/arm/common/fconf/arm_fconf_sp.c