Merge pull request #1349 from amitdanielkachhap/juno_fix_bl2_sizes

Juno: Increase bl2 max size to fix build when SPD=opteed
This commit is contained in:
Dimitris Papastamos 2018-04-10 15:08:42 +01:00 committed by GitHub
commit be1a59cf19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -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
/*