On 4/19/21 2:43 AM, Philippe Mathieu-Daudé wrote:
All boards calling pflash_cfi02_register() use nb_mappings=1,
which does not do any mapping:

   $ git grep -wl pflash_cfi02_register hw/
   hw/arm/xilinx_zynq.c
   hw/block/pflash_cfi02.c
   hw/lm32/lm32_boards.c
   hw/ppc/ppc405_boards.c
   hw/sh4/r2d.c

We can remove this now unneeded code.

Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to