drivers: ipc: Enable messaging unit driver for iMX.RT multicore SOCs
Enable MU messaging unit driver for RT11xx socs. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
398d90ff48
commit
7d1f435a2a
5 changed files with 38 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#define DT_DRV_COMPAT nxp_imx_mu
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
@ -13,8 +12,10 @@
|
|||
#include <zephyr/drivers/ipm.h>
|
||||
#include <zephyr/irq.h>
|
||||
#if IS_ENABLED(CONFIG_IPM_IMX_REV2)
|
||||
#define DT_DRV_COMPAT nxp_imx_mu_rev2
|
||||
#include "fsl_mu.h"
|
||||
#else
|
||||
#define DT_DRV_COMPAT nxp_imx_mu
|
||||
#include <mu_imx.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue