Re: [PATCH v4 5/6] riscv: Copy the reserved-memory nodes to final DT

2020-03-24 Thread Atish Patra
On Tue, Mar 24, 2020 at 3:11 PM Heinrich Schuchardt wrote: > > On 3/24/20 8:15 AM, Atish Patra wrote: > > On Mon, Mar 23, 2020 at 11:23 PM Heinrich Schuchardt > > wrote: > >> > >> On 3/24/20 5:16 AM, Atish Patra wrote: > >>> The DT used by U-Boot may be different from the DT being passed to > >>

Re: [PATCH v4 5/6] riscv: Copy the reserved-memory nodes to final DT

2020-03-24 Thread Heinrich Schuchardt
On 3/24/20 8:15 AM, Atish Patra wrote: On Mon, Mar 23, 2020 at 11:23 PM Heinrich Schuchardt wrote: On 3/24/20 5:16 AM, Atish Patra wrote: 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

Re: [PATCH v4 5/6] riscv: Copy the reserved-memory nodes to final DT

2020-03-24 Thread Atish Patra
On Mon, Mar 23, 2020 at 11:23 PM Heinrich Schuchardt wrote: > > On 3/24/20 5:16 AM, Atish Patra wrote: > > 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

Re: [PATCH v4 5/6] riscv: Copy the reserved-memory nodes to final DT

2020-03-23 Thread Heinrich Schuchardt
On 3/24/20 5:16 AM, Atish Patra wrote: 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. The bootefi command works in the

[PATCH v4 5/6] riscv: Copy the reserved-memory nodes to final DT

2020-03-23 Thread Atish Patra
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 Reviewed-by: Bin Meng --- arch/riscv/lib/boo