diff options
author | Cédric Le Goater | 2021-10-22 09:52:17 +0200 |
---|---|---|
committer | Cédric Le Goater | 2021-10-22 09:52:17 +0200 |
commit | fc6642544eb86b520fed4e3b7792bd89e563de08 (patch) | |
tree | 9b5d18b7887a6ed305eea328e39b36fbaeeef6dd /include/hw | |
parent | aspeed: Add support for the fp5280g2-bmc board (diff) | |
download | qemu-fc6642544eb86b520fed4e3b7792bd89e563de08.tar.gz qemu-fc6642544eb86b520fed4e3b7792bd89e563de08.tar.xz qemu-fc6642544eb86b520fed4e3b7792bd89e563de08.zip |
aspeed/smc: Use a container for the flash mmio address space
Because AddressSpaces must not be sysbus-mapped, commit e9c568dbc225
("hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use
alias") introduced an alias for the flash mmio region.
Using a container is cleaner.
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-Id: <20211018132609.160008-5-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ssi/aspeed_smc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h index 75bc793bd2..e265555819 100644 --- a/include/hw/ssi/aspeed_smc.h +++ b/include/hw/ssi/aspeed_smc.h @@ -52,8 +52,8 @@ struct AspeedSMCState { SysBusDevice parent_obj; MemoryRegion mmio; + MemoryRegion mmio_flash_container; MemoryRegion mmio_flash; - MemoryRegion mmio_flash_alias; qemu_irq irq; |