]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: scu_api: add sc_pm_is_partition_started
authorPeng Fan <peng.fan@nxp.com>
Mon, 26 Aug 2019 08:12:16 +0000 (08:12 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:59 +0000 (16:35 +0200)
commit8cacd788b40d1cbb80aafe2ee561ac7d74291446
treebaf963d7a6627d56d5baedfeb6a100b4778acddd
parent94e4d028b29fb4c012b4ae1942b4d58d7937b63a
imx: scu_api: add sc_pm_is_partition_started

Add sc_pm_is_partition_started to check whether a partition
has been started. This will be used to detect M4 partition booted up or
not, then we could choose which dtb to use. If M4 is up, we need
use dtb, such as imx8qm-mek-rpmsg.dtb.

Signed-off-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