mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

The rse_comms_init() function will be removed. The new function to use is rse_mbx_init() for the MHU mailbox initialization. Change-Id: I1932500ef71b6e895f0ee164ee9c2b58becf4409 Signed-off-by: Yann Gautier <yann.gautier@st.com>
23 lines
559 B
C
23 lines
559 B
C
/*
|
|
* Copyright (c) 2022-2025, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <common/debug.h>
|
|
#include <drivers/arm/mhu.h>
|
|
#include <drivers/arm/rse_comms.h>
|
|
#include <platform_def.h>
|
|
#include <tc_rse_comms.h>
|
|
|
|
static const struct mhu_addr mhu_addresses = {
|
|
PLAT_RSE_AP_SND_MHU_BASE,
|
|
PLAT_RSE_AP_RCV_MHU_BASE
|
|
};
|
|
|
|
int plat_rse_comms_init(void)
|
|
{
|
|
VERBOSE("Initializing the rse_comms now\n");
|
|
/* Initialize the communication channel between AP and RSE */
|
|
return rse_mbx_init(&mhu_addresses);
|
|
}
|