summaryrefslogtreecommitdiffstats
path: root/include/hw/ssi
diff options
context:
space:
mode:
authorCédric Le Goater2017-01-20 12:15:07 +0100
committerPeter Maydell2017-01-20 12:15:07 +0100
commitd09dc5b75bba7eee06679b5d1450998c0d43fc01 (patch)
tree5e26354f936aaad071c0db5d2920889f502ce451 /include/hw/ssi
parentaspeed/smc: autostrap CE0/1 configuration (diff)
downloadqemu-d09dc5b75bba7eee06679b5d1450998c0d43fc01.tar.gz
qemu-d09dc5b75bba7eee06679b5d1450998c0d43fc01.tar.xz
qemu-d09dc5b75bba7eee06679b5d1450998c0d43fc01.zip
aspeed/smc: unfold the AspeedSMCController array
This is getting difficult to read. Also add a 'has_dma' field for each controller type. 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: 1483979087-32663-6-git-send-email-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/ssi')
-rw-r--r--include/hw/ssi/aspeed_smc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h
index bdfbcc0ffa..861120b6e2 100644
--- a/include/hw/ssi/aspeed_smc.h
+++ b/include/hw/ssi/aspeed_smc.h
@@ -44,6 +44,7 @@ typedef struct AspeedSMCController {
const AspeedSegments *segments;
hwaddr flash_window_base;
uint32_t flash_window_size;
+ bool has_dma;
} AspeedSMCController;
typedef struct AspeedSMCFlash {