From 9ec6db32ca04b41330225d96f44eb6a4d8e97e7e Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Thu, 21 Sep 2023 11:13:35 +0300 Subject: sandbox: add sandbox sm uclass driver This patch adds sandbox secure monitor driver. Signed-off-by: Alexey Romanov Reviewed-by: Simon Glass Link: https://lore.kernel.org/r/20230921081346.22157-3-avromanov@salutedevices.com Signed-off-by: Neil Armstrong --- include/sandbox-sm.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/sandbox-sm.h (limited to 'include') 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 + */ + +#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 -- cgit v1.2.3