summaryrefslogtreecommitdiff
path: root/include/soc/imx
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-06-13 16:11:14 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit2f4483be3043433c5ebe7b7a8dd7888112e2f61a (patch)
treefebbf3b02337863c13c57632e82af8c880a1d84a /include/soc/imx
parent0a60c3644a43daad4a5d004984bdca42a25469ab (diff)
MLK-18592-1 soc: imx: use vendor hvc to communiate with SCU
Let Dom0 use hvc to trap to xen to communicate with SCU. xen could reuse the MU used by Dom0 before. By reusing the MU in Dom0, xen has power to control resources owned by DomU. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/soc/imx')
-rw-r--r--include/soc/imx/fsl_hvc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/soc/imx/fsl_hvc.h b/include/soc/imx/fsl_hvc.h
new file mode 100644
index 000000000000..63e3cc5a3f2a
--- /dev/null
+++ b/include/soc/imx/fsl_hvc.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright 2018 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __SOC_FSL_HVC_H
+#define __SOC_FSL_HVC_H
+
+/* VENDOR HVC 0xC6000000 - 0xC600FFFF */
+#define FSL_HVC_SC 0xC6000000
+
+#endif