Re: [PATCH 05/20] hw/loongarch: Use generic DeviceState instead of PFlashCFI01

2023-01-07 Thread Bin Meng
On Thu, Jan 5, 2023 at 6:16 AM Philippe Mathieu-Daudé wrote: > > Nothing here requires access to PFlashCFI01 internal fields: > use the inherited generic DeviceState. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/loongarch/virt.c | 9 - > include/hw/loongarch/virt.h | 3 +-

[PATCH 05/20] hw/loongarch: Use generic DeviceState instead of PFlashCFI01

2023-01-04 Thread Philippe Mathieu-Daudé
Nothing here requires access to PFlashCFI01 internal fields: use the inherited generic DeviceState. Signed-off-by: Philippe Mathieu-Daudé --- hw/loongarch/virt.c | 9 - include/hw/loongarch/virt.h | 3 +-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hw/loongarc