aspeed/smc: set the number of flash modules for the FMC controller
commit26d5df9578927fce97a83975feecf1a3c2511610
authorCédric Le Goater <clg@kaod.org>
Tue, 27 Dec 2016 14:59:29 +0000 (27 14:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Dec 2016 14:59:29 +0000 (27 14:59 +0000)
tree082758f8efada90344b58318268ee849b96b5a33
parent0584d3c33f70445085d3f223015c67dfcea97ba3
aspeed/smc: set the number of flash modules for the FMC controller

Add a new configuration field at the board level and propagate the
value using the "num-cs" property of the FMC controller model.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1480434248-27138-14-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed.c
hw/arm/aspeed_soc.c