diff options
author | Mian Yousaf Kaukab <ykaukab@suse.de> | 2018-12-18 14:01:17 +0100 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2019-01-17 13:16:49 -0800 |
commit | 7e96804975a7a640901d30e28f34a93d014e2e23 (patch) | |
tree | f6899bcacc2761dd29b17281e2d910ee7ce3d5d2 /include/fsl-mc | |
parent | 5b994e85a543598f52357f08fa9e3be22056ec8a (diff) | |
download | u-boot-7e96804975a7a640901d30e28f34a93d014e2e23.tar.gz |
fsl-layerscape: dpaa: fix fsl-mc status in fdt with bootefi
fsl-mc lazyapply command applies dpl from efi_exit_boot_services().
Status of fsl-mc node in working fdt is updated at this stage.
However, an efi application like grub may already have copied the fdt.
So the updates to fdt done at efi_exit_boot_services() may not be
visible to the OS. Fix it by updating fdt earlier if fsl-mc lazyapply
command is used.
Fixes: b7b8410a8f (ls2080: Exit dpaa only right before exiting U-Boot)
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/fsl-mc')
-rw-r--r-- | include/fsl-mc/fsl_mc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h index aef40d3911..0abd797cc4 100644 --- a/include/fsl-mc/fsl_mc.h +++ b/include/fsl-mc/fsl_mc.h @@ -54,6 +54,7 @@ struct mc_ccsr_registers { void fdt_fsl_mc_fixup_iommu_map_entry(void *blob); int get_mc_boot_status(void); int get_dpl_apply_status(void); +int is_lazy_dpl_addr_valid(void); #ifdef CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET int get_aiop_apply_status(void); #endif |