summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach/smc_api.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-15 07:23:50 -0500
committerTom Rini <trini@konsulko.com>2021-01-15 07:55:11 -0500
commit83e13c3469c710af03bf43f53aede0f9b7ba2dd0 (patch)
tree411d6bc9f7f2dbe605fcc979f680b286fabba695 /arch/arm/mach-socfpga/include/mach/smc_api.h
parent35772ff4f63a302e0b873096372c70292fb0af79 (diff)
parent40551cf99c237f93d9e0e07b6dd8f31b3868a0f0 (diff)
Merge branch '2021.04-rc' of https://github.com/lftan/u-boot
- Add ATF flow for SoC64 devices - Update socfpgaimage to support print header and update padding flow
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/smc_api.h')
-rw-r--r--arch/arm/mach-socfpga/include/mach/smc_api.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/smc_api.h b/arch/arm/mach-socfpga/include/mach/smc_api.h
new file mode 100644
index 00000000000..bbefdd8dd98
--- /dev/null
+++ b/arch/arm/mach-socfpga/include/mach/smc_api.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2020 Intel Corporation
+ */
+
+#ifndef _SMC_API_H_
+#define _SMC_API_H_
+
+int invoke_smc(u32 func_id, u64 *args, int arg_len, u64 *ret_arg, int ret_len);
+int smc_send_mailbox(u32 cmd, u32 len, u32 *arg, u8 urgent, u32 *resp_buf_len,
+ u32 *resp_buf);
+
+#endif /* _SMC_API_H_ */