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))
|
||||
return 0;
|
||||
|
||||
pass_over = get_pass_over_info();
|
||||
if (pass_over && pass_over->g_ap_mu == 0) {
|
||||
/* When ap_mu is 0, means the u-boot is boot from first container */
|
||||
sc_misc_boot_status(ipcHndl, SC_MISC_BOOT_STATUS_SUCCESS);
|
||||
if (is_soc_rev(CHIP_REV_A)) {
|
||||
pass_over = get_pass_over_info();
|
||||
if (pass_over && pass_over->g_ap_mu == 0) {
|
||||
/* 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue