aspeed: allocate RAM after the memory controller has checked the size
commitde46f5f46c1bb169045432a8208a9e10a662b55d
authorCédric Le Goater <clg@kaod.org>
Thu, 22 Sep 2016 17:13:06 +0000 (22 18:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Sep 2016 17:13:06 +0000 (22 18:13 +0100)
tree8fe36e4a7065bf2b47e5502f8186ec13694a7e3d
parentc6c7cfb01a00be0553f6694bbe71d45fc5e068c8
aspeed: allocate RAM after the memory controller has checked the size

If the RAM size is invalid, the memory controller will use a default
value.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1473438177-26079-15-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed.c