diff options
author | Ye Li <ye.li@nxp.com> | 2022-07-26 16:40:49 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-07-26 11:29:00 +0200 |
commit | 03fcf966511d11aa67c7b52d9d68c7bf18edade6 (patch) | |
tree | 2d82426ed58d741001fc1acb8d84df72f5af9751 /arch/arm/include/asm/mach-imx/mu_hal.h | |
parent | 636c95f82b9a184a9b45a8965488cea2dedcd78e (diff) |
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>
Signed-off-by: Peng Fan <peng.fan@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.h | 12 |
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 |