1 /* 2 * Copyright (c) 2022-2025, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <common/debug.h> 8 #include <drivers/arm/mhu.h> 9 #include <drivers/arm/rse_comms.h> 10 #include <platform_def.h> 11 #include <tc_rse_comms.h> 12 13 static const struct mhu_addr mhu_addresses = { 14 PLAT_RSE_AP_SND_MHU_BASE, 15 PLAT_RSE_AP_RCV_MHU_BASE 16 }; 17 18 int plat_rse_comms_init(void) 19 { 20 VERBOSE("Initializing the rse_comms now\n"); 21 /* Initialize the communication channel between AP and RSE */ 22 return rse_mbx_init(&mhu_addresses); 23 } 24