]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Copy the reserved-memory nodes to final DT
authorAtish Patra <atish.patra@wdc.com>
Tue, 21 Apr 2020 18:15:03 +0000 (11:15 -0700)
committerAndes <uboot@andestech.com>
Thu, 23 Apr 2020 02:14:16 +0000 (10:14 +0800)
commit73d756fd224666e6fa029920f3aaf9cbfab71cb5
treed8dea2c299993682270d8e3f7f72152ed13ccb56
parent0cb27856d12ff1350996f93015972203b24387cc
riscv: Copy the reserved-memory nodes to final DT

The DT used by U-Boot may be different from the DT being passed to
the OS if the DT is loaded from external media such as network or
mmc. In that case, the reserved-memory node needs to be copied to
the DT passed to the OS.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/lib/bootm.c