summaryrefslogtreecommitdiff
path: root/include/mach/imx/tzasc.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-02-27 16:16:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-03-06 14:10:41 +0100
commit8d0f5a36f107ce152c94a60a243088855170f637 (patch)
tree1cfa5d18f6f50d851d166cc324aa7596d9085820 /include/mach/imx/tzasc.h
parent9dbf98e2260c1a7efd32a68bc7078f96c4384523 (diff)
downloadbarebox-8d0f5a36f107ce152c94a60a243088855170f637.tar.gz
ARM: i.MX: Move mach header files to include/mach/imx
Currently arch specific headers can be included with #include <mach/xxx.h>. With upcoming multi-arch support this is no longer possible as there won't be a single mach anymore. Move all i.MX specific header files to include/mach/imx/ to prepare for multi-arch support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mach/imx/tzasc.h')
-rw-r--r--include/mach/imx/tzasc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/mach/imx/tzasc.h b/include/mach/imx/tzasc.h
new file mode 100644
index 0000000000..724ba50ead
--- /dev/null
+++ b/include/mach/imx/tzasc.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __IMX_TZASC_H__
+#define __IMX_TZASC_H__
+
+#include <linux/types.h>
+#include <asm/system.h>
+
+void imx8mq_tzc380_init(void);
+void imx8mm_tzc380_init(void);
+void imx8mn_tzc380_init(void);
+void imx8mp_tzc380_init(void);
+
+bool tzc380_is_enabled(void);
+
+#endif