diff --git a/plat/nvidia/tegra/common/tegra_bl31_setup.c b/plat/nvidia/tegra/common/tegra_bl31_setup.c index b1c4016efce2e0eb7120ab39a234cbe3cbc52915..0806307467cf5bce23c49b2c711b2ecb1d1901d8 100644 --- a/plat/nvidia/tegra/common/tegra_bl31_setup.c +++ b/plat/nvidia/tegra/common/tegra_bl31_setup.c @@ -251,6 +251,11 @@ void plat_trusty_set_boot_args(aapcs64_params_t *args) args->arg0 = bl32_mem_size; args->arg1 = bl32_boot_params; args->arg2 = TRUSTY_PARAMS_LEN_BYTES; + + /* update EKS size */ + if (args->arg4 != 0U) { + args->arg2 = args->arg4; + } } #endif