[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/3] riscv: Unify Qemu's reset vector code path
From: |
Bin Meng |
Subject: |
Re: [PATCH v3 1/3] riscv: Unify Qemu's reset vector code path |
Date: |
Fri, 26 Jun 2020 18:25:39 +0800 |
On Fri, Jun 26, 2020 at 8:33 AM Atish Patra <atish.patra@wdc.com> wrote:
>
> Currently, all riscv machines except sifive_u have identical reset vector
> code implementations with memory addresses being different for all machines.
> They can be easily combined into a single function in common code.
>
> Move it to common function and let all the machines use the common function.
>
> Signed-off-by: Atish Patra <atish.patra@wdc.com>
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
> ---
> hw/riscv/boot.c | 45 +++++++++++++++++++++++++++++++++++++++++
> hw/riscv/sifive_u.c | 1 -
> hw/riscv/spike.c | 41 +++----------------------------------
> hw/riscv/virt.c | 40 +++---------------------------------
> include/hw/riscv/boot.h | 2 ++
> 5 files changed, 53 insertions(+), 76 deletions(-)
>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
- [PATCH v3 0/3] Add OpenSBI dynamic firmware support, Atish Patra, 2020/06/25
- [PATCH v3 1/3] riscv: Unify Qemu's reset vector code path, Atish Patra, 2020/06/25
- Re: [PATCH v3 1/3] riscv: Unify Qemu's reset vector code path,
Bin Meng <=
- [PATCH v3 3/3] riscv: Add opensbi firmware dynamic support, Atish Patra, 2020/06/25
- [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Atish Patra, 2020/06/25
- Re: [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Bin Meng, 2020/06/26
- Re: [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Atish Patra, 2020/06/26
- Re: [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Bin Meng, 2020/06/26
- Re: [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Atish Patra, 2020/06/27
- Re: [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Alistair Francis, 2020/06/27
- Re: [PATCH v3 2/3] RISC-V: Copy the fdt in dram instead of ROM, Bin Meng, 2020/06/27