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

2020-06-11 Thread Alistair Francis
On Wed, Jun 10, 2020 at 6:09 PM 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 Applied to riscv-to-apply branch. Alistair > --- > > (

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

2020-06-10 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 Reviewed-by: Alistair Francis --- (no changes since v1) target/riscv/cpu.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-