aspeed/smc: unfold the AspeedSMCController array
commitd09dc5b75bba7eee06679b5d1450998c0d43fc01
authorCédric Le Goater <clg@kaod.org>
Fri, 20 Jan 2017 11:15:07 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:07 +0000 (20 11:15 +0000)
tree5e26354f936aaad071c0db5d2920889f502ce451
parent0707b34dcb87b5446208362cd6c8ccff75f2e01c
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>
hw/ssi/aspeed_smc.c
include/hw/ssi/aspeed_smc.h