aboutsummaryrefslogtreecommitdiff
path: root/include/sandbox-sm.h
diff options
context:
space:
mode:
authorAlexey Romanov2023-09-21 11:13:35 +0300
committerNeil Armstrong2023-10-15 12:23:48 +0200
commit9ec6db32ca04b41330225d96f44eb6a4d8e97e7e (patch)
tree9d89c8065e65d7f286172d4d313ede9aedd12396 /include/sandbox-sm.h
parentc52cd07407af6467d68f1ed9dd180fb72bbf0313 (diff)
sandbox: add sandbox sm uclass driver
This patch adds sandbox secure monitor driver. Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/20230921081346.22157-3-avromanov@salutedevices.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'include/sandbox-sm.h')
-rw-r--r--include/sandbox-sm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/sandbox-sm.h b/include/sandbox-sm.h
new file mode 100644
index 00000000000..91c30d501d4
--- /dev/null
+++ b/include/sandbox-sm.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2023 SberDevices, Inc.
+ *
+ * Author: Alexey Romanov <avromanov@salutedevices.com>
+ */
+
+#ifndef __SANDBOX_SM_H__
+#define __SANDBOX_SM_H__
+
+enum sandbox_smc_cmd {
+ SANDBOX_SMC_CMD_READ_MEM,
+ SANDBOX_SMC_CMD_WRITE_MEM,
+ SANDBOX_SMC_CMD_COMMON,
+ SANDBOX_SMC_CMD_COUNT,
+};
+
+#endif