Re: [PATCH 09/12] m25p80: Introduce an helper to retrieve the BlockBackend of a device

2023-05-31 Thread Philippe Mathieu-Daudé
On 31/5/23 08:48, Cédric Le Goater wrote: On 5/30/23 23:14, Philippe Mathieu-Daudé wrote: On 8/5/23 09:58, Cédric Le Goater wrote: It will help in getting rid of some drive_get(IF_MTD) calls by retrieving the BlockBackend directly from the m25p80 device. Cc: Alistair Francis Signed-off-by: Cé

Re: [PATCH 09/12] m25p80: Introduce an helper to retrieve the BlockBackend of a device

2023-05-30 Thread Cédric Le Goater
On 5/30/23 23:14, Philippe Mathieu-Daudé wrote: On 8/5/23 09:58, Cédric Le Goater wrote: It will help in getting rid of some drive_get(IF_MTD) calls by retrieving the BlockBackend directly from the m25p80 device. Cc: Alistair Francis Signed-off-by: Cédric Le Goater ---   include/hw/block/flas

Re: [PATCH 09/12] m25p80: Introduce an helper to retrieve the BlockBackend of a device

2023-05-30 Thread Philippe Mathieu-Daudé
On 8/5/23 09:58, Cédric Le Goater wrote: It will help in getting rid of some drive_get(IF_MTD) calls by retrieving the BlockBackend directly from the m25p80 device. Cc: Alistair Francis Signed-off-by: Cédric Le Goater --- include/hw/block/flash.h | 4 hw/block/m25p80.c| 6 +

[PATCH 09/12] m25p80: Introduce an helper to retrieve the BlockBackend of a device

2023-05-08 Thread Cédric Le Goater
It will help in getting rid of some drive_get(IF_MTD) calls by retrieving the BlockBackend directly from the m25p80 device. Cc: Alistair Francis Signed-off-by: Cédric Le Goater --- include/hw/block/flash.h | 4 hw/block/m25p80.c| 6 ++ 2 files changed, 10 insertions(+) diff --