diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-01-02 08:52:35 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-20 10:14:13 +1000 |
commit | c44df400d9fc23d1d135f6aa723cb58ada858ee3 (patch) | |
tree | fac829a8d4316dcbece2300792a22c32e0df941d /hw/riscv/sifive_u.c | |
parent | 1db0c57adeb981c9581f7729e8e8dfb60bdb4e7c (diff) | |
download | qemu-c44df400d9fc23d1d135f6aa723cb58ada858ee3.zip qemu-c44df400d9fc23d1d135f6aa723cb58ada858ee3.tar.gz qemu-c44df400d9fc23d1d135f6aa723cb58ada858ee3.tar.bz2 |
hw/riscv/spike.c: load initrd right after riscv_load_kernel()
This will make the code more in line with what the other boards are
doing. We'll also avoid an extra check to machine->kernel_filename since
we already checked that before executing riscv_load_kernel().
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
Message-Id: <20230102115241.25733-6-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/riscv/sifive_u.c')
0 files changed, 0 insertions, 0 deletions