summaryrefslogtreecommitdiffstats
path: root/include/hw/arm
diff options
context:
space:
mode:
authorCédric Le Goater2016-12-27 15:59:26 +0100
committerPeter Maydell2016-12-27 15:59:26 +0100
commit2d105bd6b58d83295310915f5503ef14d97f4c0f (patch)
tree1612f08541dcc98f1b243a686248f742076f70f5 /include/hw/arm
parentm25p80: add support for the mx66l1g45g (diff)
downloadqemu-2d105bd6b58d83295310915f5503ef14d97f4c0f.tar.gz
qemu-2d105bd6b58d83295310915f5503ef14d97f4c0f.tar.xz
qemu-2d105bd6b58d83295310915f5503ef14d97f4c0f.zip
aspeed: QOMify the CPU object and attach it to the SoC
Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Message-id: 1480434248-27138-4-git-send-email-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/aspeed_soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/aspeed_soc.h b/include/hw/arm/aspeed_soc.h
index 5406b498d7..6f1b679c97 100644
--- a/include/hw/arm/aspeed_soc.h
+++ b/include/hw/arm/aspeed_soc.h
@@ -27,7 +27,7 @@ typedef struct AspeedSoCState {
DeviceState parent;
/*< public >*/
- ARMCPU *cpu;
+ ARMCPU cpu;
MemoryRegion iomem;
AspeedVICState vic;
AspeedTimerCtrlState timerctrl;