]> git.ipfire.org Git - thirdparty/qemu.git/commit
riscv/virt: Jump to pflash if specified
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 8 Oct 2019 23:32:29 +0000 (16:32 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 28 Oct 2019 14:47:28 +0000 (07:47 -0700)
commit2738b3b555efaf206b814677966e8e3510c64a8a
treebc523213b451740092735ae4254ec8b7d8d54c6f
parent71eb522c406342c3cefa7a2837c7417eeb430ae1
riscv/virt: Jump to pflash if specified

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 <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/virt.c