spm: use generated binary instead of prebuilt
Till now we were using prebuilt spm/hafnium binaries but as we are going
to track upstream repository its desirable to use generated binaries.
This patch gets hypervisor build artefacts from building spm/hafnium
tree and copying them to artefacts folder with "secure_" appended to
spm files.
Change-Id: I02e081e230dbe1e14dec03f59c7f83e8c78d485e
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
diff --git a/fvp_utils.sh b/fvp_utils.sh
index 1e31c0b..5062e5d 100644
--- a/fvp_utils.sh
+++ b/fvp_utils.sh
@@ -23,6 +23,9 @@
sp1_addr="${sp1_addr:-0x7000000}"
sp2_addr="${sp2_addr:-0x7100000}"
sp3_addr="${sp3_addr:-0x7200000}"
+# SPM out directories
+export spm_secure_out_dir="${spm_secure_out_dir:-secure_aem_v8a_fvp_clang}"
+export spm_non_secure_out_dir="${spm_non_secure_out_dir:-aem_v8a_fvp_clang}"
ns_bl1u_addr="${ns_bl1u_addr:-0x0beb8000}"
fwu_fip_addr="${fwu_fip_addr:-0x08400000}"