qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: [PATCH-for-6.1 0/2] hw/block/pflash_cfi02: Do not create aliases when not necessary
Date: Thu, 25 Mar 2021 13:09:19 +0100

Simplify memory layout when no pflash_cfi02 mapping requested.
For example using the r2d machine:

  (qemu) info mtree
  address-space: memory
    0000000000000000-ffffffffffffffff (prio 0, i/o): system
      0000000000000000-0000000000ffffff (prio 0, i/o): pflash
        0000000000000000-0000000000ffffff (prio 0, romd): alias pflash-alias =
@r2d.flash 0000000000000000-0000000000ffffff
      0000000004000000-000000000400003f (prio 0, i/o): r2d-fpga
      000000000c000000-000000000fffffff (prio 0, ram): r2d.sdram

  (qemu) info mtree
  address-space: memory
    0000000000000000-ffffffffffffffff (prio 0, i/o): system
      0000000000000000-0000000000ffffff (prio 0, romd): r2d.flash
      0000000004000000-000000000400003f (prio 0, i/o): r2d-fpga
      000000000c000000-000000000fffffff (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]