]> git.baikalelectronics.ru Git - uboot.git/commit
fsl-layerscape: dpaa: fix fsl-mc status in fdt with bootefi
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 18 Dec 2018 13:01:17 +0000 (14:01 +0100)
committerYork Sun <york.sun@nxp.com>
Thu, 17 Jan 2019 21:16:49 +0000 (13:16 -0800)
commit6130d388e58dd41fa99aa1479f49d7f4011cbc62
treef6899bcacc2761dd29b17281e2d910ee7ce3d5d2
parent562ff769abb92784b12b21668ebeaf1607839fcd
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: d066760ea4 (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>
board/freescale/ls1088a/ls1088a.c
board/freescale/ls2080a/ls2080a.c
board/freescale/ls2080aqds/ls2080aqds.c
board/freescale/ls2080ardb/ls2080ardb.c
drivers/net/fsl-mc/mc.c
include/fsl-mc/fsl_mc.h