]> git.baikalelectronics.ru Git - uboot.git/commit
ppc: qemu: Delete the temporary FDT virtual-physical mapping after U-Boot is relocated
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:55 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:44 +0000 (10:25 +0530)
commitbda5e2d69a6a8fc35e100515ca929927388d8244
tree211b04ac346bd04575b306a84cc984208b3591eb
parent167025945e7a6f5c85ea7de7af299b297d995275
ppc: qemu: Delete the temporary FDT virtual-physical mapping after U-Boot is relocated

After U-Boot is relocated to RAM already, the previous temporary FDT
virtual-physical mapping that was used in the pre-relocation phase
is no longer needed. Let's delete the mapping.

get_fdt_virt() might be used before and after relocation, update it
to return different virtual address of FDT.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/qemu-ppce500/qemu-ppce500.c