aspeed: create mapping regions for the maximum number of slaves
commit2da95fd88b87bd90e39caeaf94943023b85dbe93
authorCédric Le Goater <clg@kaod.org>
Mon, 17 Oct 2016 18:22:17 +0000 (17 19:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Oct 2016 18:22:17 +0000 (17 19:22 +0100)
tree9ff9c82394d04361004835fceaac96ddc20495f6
parent6dc52326ccbb826c3b61aa1429001a79d34be1e3
aspeed: create mapping regions for the maximum number of slaves

The SMC controller on the Aspeed SoC has a set of registers to
configure the mapping of each flash module in the SoC address
space. These mapping windows are configurable even though no SPI slave
is attached to the controller.

Also rewrite a bit the comments in the code on this topic.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1474977462-28032-6-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/aspeed_smc.c