summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx/mu_hal.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-11-10 10:25:56 +0800
committerYe Li <ye.li@nxp.com>2022-07-06 22:35:55 +0800
commitf8a85cc1edf5d7afc55ae8b5e23a6aaa19bafc97 (patch)
tree9ef791497f9f4cb031d17e5b59dfcd9f3a95b1ea /arch/arm/include/asm/mach-imx/mu_hal.h
parent29b21e70c255e1bc6bda51f1d594607735ed21cf (diff)
LFU-330-13 misc: imx: S400_API: Move S400 MU and API to a common place
Since iMX9 uses S401 which shares the API with iMX8ULP. So move S400 MU driver and API to a common place and selected by CONFIG_IMX_SENTINEL Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/mach-imx/mu_hal.h')
-rw-r--r--arch/arm/include/asm/mach-imx/mu_hal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/mu_hal.h b/arch/arm/include/asm/mach-imx/mu_hal.h
new file mode 100644
index 0000000000..5db559c1ac
--- /dev/null
+++ b/arch/arm/include/asm/mach-imx/mu_hal.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2021 NXP
+ */
+
+#ifndef __SNT_MU_HAL_H__
+#define __SNT_MU_HAL_H__
+
+void mu_hal_init(ulong base);
+int mu_hal_sendmsg(ulong base, u32 reg_index, u32 msg);
+int mu_hal_receivemsg(ulong base, u32 reg_index, u32 *msg);
+#endif