Re: [PATCH v1 6/6] riscv/virt: Jump to pflash if specified

2019-09-23 Thread Philippe Mathieu-Daudé
On 9/20/19 7:15 AM, Bin Meng wrote: > On Fri, Sep 20, 2019 at 6:35 AM Alistair Francis > wrote: >> >> If the user supplied pflash to QEMU then change the reset code to jump >> to the pflash base address instead of the DRAM base address. >> >> Signed-off-by: Alistair Francis >> --- >>

Re: [PATCH v1 6/6] riscv/virt: Jump to pflash if specified

2019-09-19 Thread Bin Meng
On Fri, Sep 20, 2019 at 6:35 AM Alistair Francis wrote: > > If the user supplied pflash to QEMU then change the reset code to jump > to the pflash base address instead of the DRAM base address. > > Signed-off-by: Alistair Francis > --- > hw/riscv/virt.c | 10 +- > 1 file changed, 9

[PATCH v1 6/6] riscv/virt: Jump to pflash if specified

2019-09-19 Thread Alistair Francis
If the user supplied pflash to QEMU then change the reset code to jump to the pflash base address instead of the DRAM base address. Signed-off-by: Alistair Francis --- hw/riscv/virt.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c