Re: [PATCH 04/20] hw/arm: Use generic DeviceState instead of PFlashCFI01

2023-01-07 Thread Bin Meng
On Thu, Jan 5, 2023 at 6:35 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/arm/sbsa-ref.c | 12 ++-- > hw/arm/vexpress.c | 12 +

[PATCH 04/20] hw/arm: 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/arm/sbsa-ref.c | 12 ++-- hw/arm/vexpress.c | 12 +--- hw/arm/virt.c | 10 +- include/hw/arm/virt.h | 3 +-- 4