Re: [PATCH-for-6.1 0/2] hw/block/pflash_cfi02: Do not create aliases when not necessary

2021-04-19 Thread Philippe Mathieu-Daudé
On 3/25/21 1:09 PM, Philippe Mathieu-Daudé wrote:
> Simplify memory layout when no pflash_cfi02 mapping requested.

> Philippe Mathieu-Daud=C3=A9 (2):
>   hw/block/pflash_cfi02: Set romd mode in pflash_cfi02_realize()
>   hw/block/pflash_cfi02: Do not create aliases when not necessary

Thanks, series applied to pflash-next tree.




[PATCH-for-6.1 0/2] hw/block/pflash_cfi02: Do not create aliases when not necessary

2021-03-25 Thread Philippe Mathieu-Daudé
Simplify memory layout when no pflash_cfi02 mapping requested.
For example using the r2d machine:

  (qemu) info mtree
  address-space: memory
- (prio 0, i/o): system
  -00ff (prio 0, i/o): pflash
-00ff (prio 0, romd): alias pflash-alias =
@r2d.flash -00ff
  0400-043f (prio 0, i/o): r2d-fpga
  0c00-0fff (prio 0, ram): r2d.sdram

  (qemu) info mtree
  address-space: memory
- (prio 0, i/o): system
  -00ff (prio 0, romd): r2d.flash
  0400-043f (prio 0, i/o): r2d-fpga
  0c00-0fff (prio 0, ram): r2d.sdram

Philippe Mathieu-Daud=C3=A9 (2):
  hw/block/pflash_cfi02: Set romd mode in pflash_cfi02_realize()
  hw/block/pflash_cfi02: Do not create aliases when not necessary

 hw/block/pflash_cfi02.c | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

--=20
2.26.2