Re: [PATCH 1/2] riscv: Avoid the reserved memory fixup if src and dst point to the same place

2020-05-28 Thread Rick Chen
> From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Wednesday, May 20, 2020 3:40 PM > To: Rick Jian-Zhi Chen(陳建志); U-Boot Mailing List > Cc: Bin Meng > Subject: [PATCH 1/2] riscv: Avoid the reserved memory fixup if src and dst > point to the same place > > From: B

Re: [PATCH 1/2] riscv: Avoid the reserved memory fixup if src and dst point to the same place

2020-05-26 Thread Bin Meng
On Wed, May 20, 2020 at 3:41 PM Bin Meng wrote: > > From: Bin Meng > > 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 > --- > > arch/riscv/lib/fdt_fix

[PATCH 1/2] riscv: Avoid the reserved memory fixup if src and dst point to the same place

2020-05-20 Thread Bin Meng
From: Bin Meng 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 --- arch/riscv/lib/fdt_fixup.c | 12 1 file changed, 8 insertions(+), 4 deletions