Re: [PATCH 2/2] hw/riscv/sifive_u: Resolve redundant property accessors

2022-02-21 Thread Philippe Mathieu-Daudé
On 17/2/22 23:53, Bernhard Beschow wrote: The QOM API already provides accessors for uint32 values, so reuse them. Signed-off-by: Bernhard Beschow --- hw/riscv/sifive_u.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH 2/2] hw/riscv/sifive_u: Resolve redundant property accessors

2022-02-21 Thread Alistair Francis
On Fri, Feb 18, 2022 at 8:54 AM Bernhard Beschow wrote: > > The QOM API already provides accessors for uint32 values, so reuse them. > > Signed-off-by: Bernhard Beschow Reviewed-by: Alistair Francis Alistair > --- > hw/riscv/sifive_u.c | 24 > 1 file changed, 4 inser

[PATCH 2/2] hw/riscv/sifive_u: Resolve redundant property accessors

2022-02-17 Thread Bernhard Beschow
The QOM API already provides accessors for uint32 values, so reuse them. Signed-off-by: Bernhard Beschow --- hw/riscv/sifive_u.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index 7fbc7dea42..747eb4ee89 10