imx: imx8qm/qxp: check whether m4 partition booted

Add code to check m4 partition booted or not, we will use this
to runtime set device tree file that passed to Linux Kernel.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan
2020-05-05 20:28:43 +08:00
committed by Stefano Babic
parent 42b26ddc80
commit ed5b253d0e
3 changed files with 32 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ void spl_board_init(void)
void spl_board_prepare_for_boot(void)
{
imx_power_off_pd_devices(NULL, 0);
imx8_power_off_pd_devices(NULL, 0);
}
#ifdef CONFIG_SPL_LOAD_FIT