aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-04-10 15:08:42 +0100
committerGitHub <noreply@github.com>2018-04-10 15:08:42 +0100
commitbe1a59cf19c81d9b0b01ba51af4f847407a00294 (patch)
tree1a40470555536aef726eda8d687e408bebec4b5f /plat
parent0841d10095dab2cb7c2d5ef61394839122686f5c (diff)
parent83a2376e185516e573dd5f99ee659b12ba46f48e (diff)
downloadplatform_external_arm-trusted-firmware-be1a59cf19c81d9b0b01ba51af4f847407a00294.tar.gz
platform_external_arm-trusted-firmware-be1a59cf19c81d9b0b01ba51af4f847407a00294.tar.bz2
platform_external_arm-trusted-firmware-be1a59cf19c81d9b0b01ba51af4f847407a00294.zip
Merge pull request #1349 from amitdanielkachhap/juno_fix_bl2_sizes
Juno: Increase bl2 max size to fix build when SPD=opteed
Diffstat (limited to 'plat')
-rw-r--r--plat/arm/board/juno/include/platform_def.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/plat/arm/board/juno/include/platform_def.h b/plat/arm/board/juno/include/platform_def.h
index 2e2fdd7ad..b33a0628f 100644
--- a/plat/arm/board/juno/include/platform_def.h
+++ b/plat/arm/board/juno/include/platform_def.h
@@ -110,12 +110,14 @@
*/
#if TRUSTED_BOARD_BOOT
#if TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA_AND_ECDSA
-# define PLAT_ARM_MAX_BL2_SIZE 0x1F000
+# define PLAT_ARM_MAX_BL2_SIZE 0x20000
+#elif TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA
+# define PLAT_ARM_MAX_BL2_SIZE 0x1D000
#else
-# define PLAT_ARM_MAX_BL2_SIZE 0x1B000
+# define PLAT_ARM_MAX_BL2_SIZE 0x1C000
#endif
#else
-# define PLAT_ARM_MAX_BL2_SIZE 0xD000
+# define PLAT_ARM_MAX_BL2_SIZE 0xE000
#endif
/*