]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: scu_api: Add SCFW API to get the index of boot container set
authorYe Li <ye.li@nxp.com>
Tue, 9 Jun 2020 10:34:42 +0000 (03:34 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 16 Jul 2020 09:19:50 +0000 (11:19 +0200)
commitdfbdaa66b7fbc60efb48e228733f7e98b3e6fed5
tree63fb07cca08628aff72f2de283b0e9fd935ad643
parentdef88bce094e95939abf1e5d02a9b413b3627f6f
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>
arch/arm/include/asm/arch-imx8/sci/rpc.h
arch/arm/include/asm/arch-imx8/sci/sci.h
drivers/misc/imx8/scu_api.c