]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Avoid the reserved memory fixup if src and dst point to the same place
authorBin Meng <bin.meng@windriver.com>
Fri, 26 Jun 2020 01:16:06 +0000 (18:16 -0700)
committerAndes <uboot@andestech.com>
Thu, 2 Jul 2020 02:03:09 +0000 (10:03 +0800)
commitc4f7c506d9e0be6465f70636ee9ba62df9d6f132
tree64d00a7965727030fb2f352c2e79aee1652a0f21
parent76585c9ecc987fb1747345c6ca27e5034e872b2c
riscv: Avoid the reserved memory fixup if src and dst point to the same place

The copy of reserved memory node from source dtb to destination dtb
can be avoided if they point to the same place. This is useful when
OF_PRIOR_STAGE is used.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
arch/riscv/lib/fdt_fixup.c