Re: [PULL 04/15] RISC-V: Copy the fdt in dram instead of ROM

2021-07-14 Thread Alistair Francis
On Tue, Jul 13, 2021 at 8:44 PM Peter Maydell wrote: > > On Tue, 14 Jul 2020 at 01:44, Alistair Francis > wrote: > > > > From: Atish Patra > > > > Currently, the fdt is copied to the ROM after the reset vector. The firmware > > has to copy it to DRAM. Instead of this, directly copy the device

Re: [PULL 04/15] RISC-V: Copy the fdt in dram instead of ROM

2021-07-13 Thread Peter Maydell
On Tue, 14 Jul 2020 at 01:44, Alistair Francis wrote: > > From: Atish Patra > > Currently, the fdt is copied to the ROM after the reset vector. The firmware > has to copy it to DRAM. Instead of this, directly copy the device tree to a > pre-computed dram address. The device tree load address

[PULL 04/15] RISC-V: Copy the fdt in dram instead of ROM

2020-07-13 Thread Alistair Francis
From: Atish Patra Currently, the fdt is copied to the ROM after the reset vector. The firmware has to copy it to DRAM. Instead of this, directly copy the device tree to a pre-computed dram address. The device tree load address should be as far as possible from kernel and initrd images. That's