Re: [PATCH-for-5.1 v3 20/24] hw/riscv/sifive_u: Use single type_init()

2020-04-13 Thread Alistair Francis
On Sun, Apr 12, 2020 at 3:48 PM Philippe Mathieu-Daudé wrote: > > We can use a single type_init() to call multiple type_register*(). > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > hw/riscv/sifive_u.c | 12 +++- > 1 file changed, 3

[PATCH-for-5.1 v3 20/24] hw/riscv/sifive_u: Use single type_init()

2020-04-12 Thread Philippe Mathieu-Daudé
We can use a single type_init() to call multiple type_register*(). Signed-off-by: Philippe Mathieu-Daudé --- hw/riscv/sifive_u.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index 998666c91f..9c90c94c33 100644 ---