Re: [PATCH 14/20] hw/block: Remove unused pflash_cfi01_register()

2023-01-08 Thread Bin Meng
On Thu, Jan 5, 2023 at 6:48 AM Philippe Mathieu-Daudé wrote: > > We converted all caller of pflash_cfi01_register() by open > coding a call to pflash_cfi01_create() followed by an explicit > call to sysbus_mmio_map(); we can now remove it. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/blo

[PATCH 14/20] hw/block: Remove unused pflash_cfi01_register()

2023-01-04 Thread Philippe Mathieu-Daudé
We converted all caller of pflash_cfi01_register() by open coding a call to pflash_cfi01_create() followed by an explicit call to sysbus_mmio_map(); we can now remove it. Signed-off-by: Philippe Mathieu-Daudé --- hw/block/pflash_cfi01.c | 19 --- include/hw/block/flash.h | 9 --