mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/riscv: remove 'fdt' param from riscv_setup_rom_reset_vec()
The 'fdt' param is not being used in riscv_setup_rom_reset_vec(). Simplify the API by removing it. While we're at it, remove the redundant 'return' statement at the end of function. Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: Alistair Francis <alistair.francis@wdc.com> Cc: Bin Meng <bin.meng@windriver.com> Cc: Vijai Kumar K <vijai@behindbytes.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20220728181926.2123771-1-danielhb413@gmail.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
4696f0ab5c
commit
6934f15b22
6 changed files with 6 additions and 9 deletions
|
@ -66,8 +66,7 @@ static void shakti_c_machine_state_init(MachineState *mstate)
|
|||
riscv_setup_rom_reset_vec(mstate, &sms->soc.cpus,
|
||||
shakti_c_memmap[SHAKTI_C_RAM].base,
|
||||
shakti_c_memmap[SHAKTI_C_ROM].base,
|
||||
shakti_c_memmap[SHAKTI_C_ROM].size, 0, 0,
|
||||
NULL);
|
||||
shakti_c_memmap[SHAKTI_C_ROM].size, 0, 0);
|
||||
if (mstate->firmware) {
|
||||
riscv_load_firmware(mstate->firmware,
|
||||
shakti_c_memmap[SHAKTI_C_RAM].base,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue