summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-imx8/sci/rpc.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-06-09 03:34:42 -0700
committerStefano Babic <sbabic@denx.de>2020-07-16 11:19:50 +0200
commitdfbdaa66b7fbc60efb48e228733f7e98b3e6fed5 (patch)
tree63fb07cca08628aff72f2de283b0e9fd935ad643 /arch/arm/include/asm/arch-imx8/sci/rpc.h
parentdef88bce094e95939abf1e5d02a9b413b3627f6f (diff)
misc: scu_api: Add SCFW API to get the index of boot container set
Add SCFW API sc_misc_get_boot_container to get current boot container set index. The index value returns 1 for primary container set, 2 for secondary container set. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/arch-imx8/sci/rpc.h')
-rw-r--r--arch/arm/include/asm/arch-imx8/sci/rpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8/sci/rpc.h b/arch/arm/include/asm/arch-imx8/sci/rpc.h
index c1a9c353ba..9f55904f44 100644
--- a/arch/arm/include/asm/arch-imx8/sci/rpc.h
+++ b/arch/arm/include/asm/arch-imx8/sci/rpc.h
@@ -115,6 +115,7 @@ struct sc_rpc_msg_s {
#define MISC_FUNC_GET_TEMP 13U
#define MISC_FUNC_GET_BOOT_DEV 16U
#define MISC_FUNC_GET_BUTTON_STATUS 18U
+#define MISC_FUNC_GET_BOOT_CONTAINER 36U
/* PAD RPC */
#define PAD_FUNC_UNKNOWN 0