aboutsummaryrefslogtreecommitdiff
path: root/include/meson/sm.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-16 09:09:54 -0400
committerTom Rini <trini@konsulko.com>2023-10-16 09:09:54 -0400
commit2e1577e8360d8e467bf28009f6763a2ac511f743 (patch)
treecf05b376e7b46e4b5b4b61d04f6976de85ab31d4 /include/meson/sm.h
parent3c3f1626919cd93cbe6c56e3849937de5be18dbb (diff)
parent7cd53e0d5203f8e25bb69d2e675769888fcbc754 (diff)
Merge tag 'u-boot-amlogic-20231015' of https://source.denx.de/u-boot/custodians/u-boot-amlogic
- add Amlogic A1 clock driver - add Amlogic A1 reset support - add USB Device support for Amlogic A1 - enable RNG on Amlogic A1 & Amlogic S4 - move Amlogic Secure Monitor to standalone driver
Diffstat (limited to 'include/meson/sm.h')
-rw-r--r--include/meson/sm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/meson/sm.h b/include/meson/sm.h
new file mode 100644
index 0000000000..fbaab1f1ee
--- /dev/null
+++ b/include/meson/sm.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2023 SberDevices, Inc.
+ *
+ * Author: Alexey Romanov <avromanov@salutedevices.com>
+ */
+
+#ifndef __MESON_SM_CMD_H__
+#define __MESON_SM_CMD_H__
+
+enum meson_smc_cmd {
+ MESON_SMC_CMD_EFUSE_READ, /* read efuse memory */
+ MESON_SMC_CMD_EFUSE_WRITE, /* write efuse memory */
+ MESON_SMC_CMD_CHIP_ID_GET, /* readh chip unique id */
+ MESON_SMC_CMD_PWRDM_SET, /* do command at specified power domain */
+ MESON_SMC_CMD_COUNT,
+};
+
+#endif