mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
Merge "fix(tc): fix compilation error" into integration
This commit is contained in:
commit
206dd2bb3e
1 changed files with 5 additions and 5 deletions
|
@ -230,14 +230,10 @@ void plat_dpe_get_context_handle(int *ctx_handle)
|
||||||
|
|
||||||
void bl2_plat_mboot_init(void)
|
void bl2_plat_mboot_init(void)
|
||||||
{
|
{
|
||||||
|
#if defined(SPD_spmd)
|
||||||
size_t i;
|
size_t i;
|
||||||
const size_t array_size = ARRAY_SIZE(tc_dpe_metadata);
|
const size_t array_size = ARRAY_SIZE(tc_dpe_metadata);
|
||||||
|
|
||||||
/* Initialize the communication channel between AP and RSE */
|
|
||||||
(void)rse_comms_init(PLAT_RSE_AP_SND_MHU_BASE,
|
|
||||||
PLAT_RSE_AP_RCV_MHU_BASE);
|
|
||||||
|
|
||||||
#if defined(SPD_spmd)
|
|
||||||
for (i = 0U; i < array_size; i++) {
|
for (i = 0U; i < array_size; i++) {
|
||||||
if (tc_dpe_metadata[i].id != SP_PKG1_ID) {
|
if (tc_dpe_metadata[i].id != SP_PKG1_ID) {
|
||||||
continue;
|
continue;
|
||||||
|
@ -257,6 +253,10 @@ void bl2_plat_mboot_init(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Initialize the communication channel between AP and RSE */
|
||||||
|
(void)rse_comms_init(PLAT_RSE_AP_SND_MHU_BASE,
|
||||||
|
PLAT_RSE_AP_RCV_MHU_BASE);
|
||||||
|
|
||||||
dpe_init(tc_dpe_metadata);
|
dpe_init(tc_dpe_metadata);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue