aspeed: move the flash module mapping address under the controller definition
commitdcb834447f7b22b08a918e2266e5751035fbfc83
authorCédric Le Goater <clg@kaod.org>
Mon, 17 Oct 2016 18:22:16 +0000 (17 19:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Oct 2016 18:22:16 +0000 (17 19:22 +0100)
tree8f121b88f7aba7027a7c6a90fb45531f134654cc
parent0e5803dfbce6cf056fe15b3b5cb31fe8519a6f6e
aspeed: move the flash module mapping address under the controller definition

This will ease the definition of the new controllers for the AST2500
SoC and also ease the support of the segment registers, which provide
a way to reconfigure the mapping window of each slave.

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