Re: [PATCH v3 4/7] riscv/sifive_u: Add the start-in-flash property

2019-10-09 Thread Bin Meng
On Wed, Oct 9, 2019 at 7:41 AM Alistair Francis wrote: > > Add a property that when set to true QEMU will jump from the ROM code to > the start of flash memory instead of DRAM which is the default > behaviour. > > Signed-off-by: Alistair Francis > --- > v3: > - Use the start_addr variable

[PATCH v3 4/7] riscv/sifive_u: Add the start-in-flash property

2019-10-08 Thread Alistair Francis
Add a property that when set to true QEMU will jump from the ROM code to the start of flash memory instead of DRAM which is the default behaviour. Signed-off-by: Alistair Francis --- v3: - Use the start_addr variable instead of editing reset vector - Fix function names hw/riscv/sifive_u.c