]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/aspeed_ast10x0.c
aspeed: Remove usage of sysbus_mmio_map
authorPeter Delevoryas <pdel@fb.com>
Thu, 30 Jun 2022 07:21:13 +0000 (09:21 +0200)
committerCédric Le Goater <clg@kaod.org>
Thu, 30 Jun 2022 07:21:13 +0000 (09:21 +0200)
commit5bfcbda70deffa64e80a011f31e0be7116cb1a66
tree4e98af91a5b6b95e388c5c8425c010a5e0903365
parent4dd9d55416695b651d8146e057acff8954bc203d
aspeed: Remove usage of sysbus_mmio_map

sysbus_mmio_map maps devices into "get_system_memory()".

With the new SoC memory attribute, we want to make sure that each device is
mapped into the SoC memory.

In single SoC machines, the SoC memory is the same as "get_system_memory()",
but in multi SoC machines it will be different.

Signed-off-by: Peter Delevoryas <pdel@fb.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220624003701.1363500-4-pdel@fb.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast10x0.c
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc.c
include/hw/arm/aspeed_soc.h