On Wed, Apr 20, 2022 at 1:53 PM Alistair Francis
<[email protected]> wrote:
>
> From: Alistair Francis <[email protected]>
>
> The ARM virt machine currently uses sysbus-fdt to create device tree
> entries for dynamically created MMIO devices.
>
> The RISC-V virt machine can also benefit from this, so move the code to
> the core directory.
>
> Signed-off-by: Alistair Francis <[email protected]>
> Reviewed-by: Edgar E. Iglesias <[email protected]>
> ---
>  include/hw/{arm => core}/sysbus-fdt.h | 0
>  hw/arm/virt.c                         | 2 +-
>  hw/arm/xlnx-versal-virt.c             | 1 -
>  hw/{arm => core}/sysbus-fdt.c         | 2 +-
>  hw/arm/meson.build                    | 1 -
>  hw/core/meson.build                   | 1 +
>  6 files changed, 3 insertions(+), 4 deletions(-)
>  rename include/hw/{arm => core}/sysbus-fdt.h (100%)
>  rename hw/{arm => core}/sysbus-fdt.c (99%)
>

Reviewed-by: Bin Meng <[email protected]>

I believe you can do some refactor to let hw/ppc/e500.c to use this
platform bus too.

Regards,
Bin

Reply via email to