test: increase FVP Trusted SRAM where necessary
The TF-A configurations used by some tests require a larger Trusted SRAM
than the 256KB default. This increases the Trusted SRAM of these tests
to 384KB.
Signed-off-by: Chris Kay <chris.kay@arm.com>
Change-Id: Ic5772999b91556fddeeab83893641b9e181271c4
diff --git a/tf_config/fvp-bl2-el3 b/tf_config/fvp-bl2-el3
index 79f2539..268d4f8 100644
--- a/tf_config/fvp-bl2-el3
+++ b/tf_config/fvp-bl2-el3
@@ -1,3 +1,4 @@
RESET_TO_BL2=1
CROSS_COMPILE=aarch64-none-elf-
PLAT=fvp
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-bl2-el3-pie b/tf_config/fvp-bl2-el3-pie
index d838a3d..c476874 100644
--- a/tf_config/fvp-bl2-el3-pie
+++ b/tf_config/fvp-bl2-el3-pie
@@ -2,3 +2,4 @@
CROSS_COMPILE=aarch64-none-elf-
PLAT=fvp
ENABLE_PIE=1
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-drtm-romlib b/tf_config/fvp-drtm-romlib
index 2fcb7c2..6abce14 100644
--- a/tf_config/fvp-drtm-romlib
+++ b/tf_config/fvp-drtm-romlib
@@ -2,3 +2,4 @@
DRTM_SUPPORT=1
PLAT=fvp
USE_ROMLIB=1
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-dynamiq-aarch64-only-8_2-1x2t b/tf_config/fvp-dynamiq-aarch64-only-8_2-1x2t
index 2683091..bee8f77 100644
--- a/tf_config/fvp-dynamiq-aarch64-only-8_2-1x2t
+++ b/tf_config/fvp-dynamiq-aarch64-only-8_2-1x2t
@@ -8,3 +8,4 @@
HW_ASSISTED_COHERENCY=1
PLAT=fvp
USE_COHERENT_MEM=0
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-errata-abi-a710 b/tf_config/fvp-errata-abi-a710
index 15d9e41..7249907 100644
--- a/tf_config/fvp-errata-abi-a710
+++ b/tf_config/fvp-errata-abi-a710
@@ -13,3 +13,4 @@
HW_ASSISTED_COHERENCY=1
PLAT=fvp
USE_COHERENT_MEM=0
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3 b/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3
index 0ada492..d8cfbe8 100644
--- a/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3
+++ b/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3
@@ -8,3 +8,4 @@
TRUSTED_BOARD_BOOT=1
TSP_INIT_ASYNC=1
TSP_NS_INTR_ASYNC_PREEMPT=1
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3-no-cohmem b/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3-no-cohmem
index 2305555..064d1b1 100644
--- a/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3-no-cohmem
+++ b/tf_config/fvp-tbb-mbedtls-tsp-async-irq2el3-no-cohmem
@@ -9,3 +9,4 @@
TSP_INIT_ASYNC=1
TSP_NS_INTR_ASYNC_PREEMPT=1
USE_COHERENT_MEM=0
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-tspd-tbb-mbedtls b/tf_config/fvp-tspd-tbb-mbedtls
index 1544594..7d31d43 100644
--- a/tf_config/fvp-tspd-tbb-mbedtls
+++ b/tf_config/fvp-tspd-tbb-mbedtls
@@ -5,3 +5,4 @@
ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem
SPD=tspd
TRUSTED_BOARD_BOOT=1
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-tspd-tbb-mbedtls-dualroot b/tf_config/fvp-tspd-tbb-mbedtls-dualroot
index 0cd52a5..ede1b48 100644
--- a/tf_config/fvp-tspd-tbb-mbedtls-dualroot
+++ b/tf_config/fvp-tspd-tbb-mbedtls-dualroot
@@ -6,3 +6,4 @@
ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem
SPD=tspd
TRUSTED_BOARD_BOOT=1
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-tspd-tbb-mbedtls-ecdsa-dualroot b/tf_config/fvp-tspd-tbb-mbedtls-ecdsa-dualroot
index 2ed6144..50f274f 100644
--- a/tf_config/fvp-tspd-tbb-mbedtls-ecdsa-dualroot
+++ b/tf_config/fvp-tspd-tbb-mbedtls-ecdsa-dualroot
@@ -9,3 +9,4 @@
SPD=tspd
TF_MBEDTLS_KEY_ALG=rsa+ecdsa
TRUSTED_BOARD_BOOT=1
+FVP_TRUSTED_SRAM_SIZE=384
diff --git a/tf_config/fvp-tspd-tbb-mbedtls-rsa-4k-cert b/tf_config/fvp-tspd-tbb-mbedtls-rsa-4k-cert
index 32d173a..cac4248 100644
--- a/tf_config/fvp-tspd-tbb-mbedtls-rsa-4k-cert
+++ b/tf_config/fvp-tspd-tbb-mbedtls-rsa-4k-cert
@@ -6,3 +6,4 @@
SPD=tspd
TRUSTED_BOARD_BOOT=1
KEY_SIZE=4096
+FVP_TRUSTED_SRAM_SIZE=384