trusty: Allow getting trusty memsize from BL32_MEM_SIZE instead of TSP_SEC_MEM_SIZE
Some platforms define BL32_MEM_SIZE instead of TSP_SEC_MEM_SIZE, but the meaning is the same. Change-Id: I93d96dca442e653435cae6a165b1955efe2d2b75 Signed-off-by: Arve Hjønnevåg <arve@android.com>
This commit is contained in:
parent
eff737c1d9
commit
f01428b1cc
|
@ -390,6 +390,10 @@ static const spd_pm_ops_t trusty_pm = {
|
||||||
|
|
||||||
void plat_trusty_set_boot_args(aapcs64_params_t *args);
|
void plat_trusty_set_boot_args(aapcs64_params_t *args);
|
||||||
|
|
||||||
|
#if !defined(TSP_SEC_MEM_SIZE) && defined(BL32_MEM_SIZE)
|
||||||
|
#define TSP_SEC_MEM_SIZE BL32_MEM_SIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TSP_SEC_MEM_SIZE
|
#ifdef TSP_SEC_MEM_SIZE
|
||||||
#pragma weak plat_trusty_set_boot_args
|
#pragma weak plat_trusty_set_boot_args
|
||||||
void plat_trusty_set_boot_args(aapcs64_params_t *args)
|
void plat_trusty_set_boot_args(aapcs64_params_t *args)
|
||||||
|
|
Loading…
Reference in New Issue