SPM: Alter sp_gen.mk entry depending on owner of partition
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
while Plat owned SPs index starts at SP_PKG5_ID.

This patch modifies SP makefile generator script to take CoT as an
argument and if it is "dualroot" then generates SP_PKG in order
mentioned above, otherwise generates it sequentially.

Signed-off-by: Ruari Phipps <ruari.phipps@arm.com>
Change-Id: Iffad1131787be650a9462f6f8cc09b603cddb3b8
1 parent 990d972 commit 1e7528ec378eb633125e67ddf1b1089eba149945
@Ruari Phipps Ruari Phipps authored on 24 Jul 2020
Manish Pandey committed on 14 Aug 2020
Showing 2 changed files
View
Makefile
View
tools/sptool/sp_mk_generator.py