Re: [PATCH 1/4] riscv: Generalize CPU init routine for the base CPU

2020-06-10 Thread Alistair Francis
On Fri, Jun 5, 2020 at 12:40 AM Bin Meng wrote: > > From: Bin Meng > > There is no need to have two functions that have exactly the same > codes for 32-bit and 64-bit base CPUs. > > Signed-off-by: Bin Meng Reviewed-by: Alistair Francis Alistair > --- > > target/riscv/cpu.c | 18 +---

[PATCH 1/4] riscv: Generalize CPU init routine for the base CPU

2020-06-05 Thread Bin Meng
From: Bin Meng There is no need to have two functions that have exactly the same codes for 32-bit and 64-bit base CPUs. Signed-off-by: Bin Meng --- target/riscv/cpu.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.