summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorCédric Le Goater2016-10-17 20:22:16 +0200
committerPeter Maydell2016-10-17 20:22:16 +0200
commitdcb834447f7b22b08a918e2266e5751035fbfc83 (patch)
tree8f121b88f7aba7027a7c6a90fb45531f134654cc /include/hw
parentaspeed: rename the smc object to fmc (diff)
downloadqemu-dcb834447f7b22b08a918e2266e5751035fbfc83.tar.gz
qemu-dcb834447f7b22b08a918e2266e5751035fbfc83.tar.xz
qemu-dcb834447f7b22b08a918e2266e5751035fbfc83.zip
aspeed: move the flash module mapping address under the controller definition
This will ease the definition of the new controllers for the AST2500 SoC and also ease the support of the segment registers, which provide a way to reconfigure the mapping window of each slave. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Message-id: 1474977462-28032-3-git-send-email-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ssi/aspeed_smc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h
index def3b4507e..bdfbcc0ffa 100644
--- a/include/hw/ssi/aspeed_smc.h
+++ b/include/hw/ssi/aspeed_smc.h
@@ -42,7 +42,8 @@ typedef struct AspeedSMCController {
uint8_t conf_enable_w0;
uint8_t max_slaves;
const AspeedSegments *segments;
- uint32_t mapping_window_size;
+ hwaddr flash_window_base;
+ uint32_t flash_window_size;
} AspeedSMCController;
typedef struct AspeedSMCFlash {