MLK-20660 imx8: Check the ROM pass over info only for RevA
Only the ROM on RevA will pass over some info into OCRAM. U-boot gets the info to determine whether it is eMMC fastboot. Thus, change that codes only for RevA, otherwise if we protect the OCRAM used by SPL on RevB, u-boot will fail to access it. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
145c359ca5
commit
b9c0bf271d
|
|
@ -188,10 +188,12 @@ int arch_cpu_init(void)
|
||||||
if (IS_ENABLED(CONFIG_XEN))
|
if (IS_ENABLED(CONFIG_XEN))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
pass_over = get_pass_over_info();
|
if (is_soc_rev(CHIP_REV_A)) {
|
||||||
if (pass_over && pass_over->g_ap_mu == 0) {
|
pass_over = get_pass_over_info();
|
||||||
/* When ap_mu is 0, means the u-boot is boot from first container */
|
if (pass_over && pass_over->g_ap_mu == 0) {
|
||||||
sc_misc_boot_status(ipcHndl, SC_MISC_BOOT_STATUS_SUCCESS);
|
/* When ap_mu is 0, means the u-boot is boot from first container */
|
||||||
|
sc_misc_boot_status(ipcHndl, SC_MISC_BOOT_STATUS_SUCCESS);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_IMX_SMMU
|
#ifdef CONFIG_IMX_SMMU
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue