fix: fix EDK2 binary download order
A prior change accidentally moved the logic which downloads EDK2, used
by two run configurations, from `post_tf_build` to `fetch_tf_resource`.
This causes the EDK2 binary be to downloaded after it's expected to be
used, causing a failure.
Change-Id: Ie6cefad70c278f59c7e5b3551cfe84ab10e0c9a8
Signed-off-by: Chris Kay <chris.kay@arm.com>
diff --git a/run_config/fvp-linux.rootfs+ftpm b/run_config/fvp-linux.rootfs+ftpm
index 7429946..6e7c207 100644
--- a/run_config/fvp-linux.rootfs+ftpm
+++ b/run_config/fvp-linux.rootfs+ftpm
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-fetch_tf_resource() {
+post_tf_build() {
# Get the images for the test.
edk_url="$tfa_downloads/ftpm/FVP_AARCH64_EFI.fd"
rootfs_url="$tfa_downloads/ftpm/boot-fat.uefi.img" get_rootfs