Re: [PATCH 08/20] hw/xtensa: Use generic DeviceState instead of PFlashCFI01

2023-01-07 Thread Bin Meng
On Thu, Jan 5, 2023 at 6:37 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/xtensa/xtfpga.c | 8 > 1 file changed, 4 insertions(+), 4 deletions

[PATCH 08/20] hw/xtensa: 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/xtensa/xtfpga.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c index bce3a543b0..b